path.js
No description.

File Location

/goog/math/path.js

Classes

goog.math.Path
Creates a path object. A path is a sequence of segments and may be open or closed. Path uses the EVEN-ODD fill rule for determining the interior of the path. A path must start with a moveTo command. A "simple" path does not contain any arcs and may be transformed using the transform method.

Public Protected Private

Enumerations

Global Functions

goog.math.Path.createSimplifiedPath(src) !goog.math.Path
Creates a copy of the given path, replacing arcTo with arcToAsCurves. The resulting path is simplified and can be transformed.
Arguments:
src : !goog.math.Path
The path to simplify.
Returns: !goog.math.Path  A new simplified path.
code »
goog.math.Path.getSegmentCount(segment) number
Returns the number of points for a segment type.
Arguments:
segment : number
The segment type.
Returns: number  The number of points.
code »

Global Variables

function%34 :
No description.
Code »
function%35 :
No description.
Code »

Directory math

File Reference