Constructordojox.gfx.path.Path

dojo.require("dojox.gfx.path");
defined in dojox/gfx/path.js

a path constructor

Usage

function (/*Node*/ rawNode) (view source)
parametertypedescription
rawNodeNodea DOM node to be used by this path object
dojox.gfx.shape._eventsProcessing (from dojox.gfx.Shape)

Jump to PropertiesFunctionsBack to top

Defined by dojox.gfx.Shape
multiplies the existing matrix with an argument on left side (matrix * this.matrix)
Defined by dojox.gfx.Shape
multiplies the existing matrix with an argument on right side (this.matrix * matrix)
Defined by dojox.gfx.Shape
a shortcut for dojox.gfx.Shape.applyRightTransform
formes an elliptic arc segment
closes a path
formes a curve segment
returns a current value of the absolute mode
Overrides dojox.gfx.Shape
returns the bounding box {x, y, width, height} or null
Defined by dojox.gfx.Shape
returns a Node, which is used as a source of events for this shape
Defined by dojox.gfx.Shape
returns the current fill object or null (see dojox.gfx.defaultLinearGradient, dojox.gfx.defaultRadialGradient, dojox.gfx.defaultPattern, or dojo.Color)
returns the last point in the path, or null
Defined by dojox.gfx.Shape
returns the current DOM Node or null
Defined by dojox.gfx.Shape
returns the parent or null (see dojox.gfx.Surface, dojox.gfx.shape.VirtualGroup, or dojox.gfx.Group)
Defined by dojox.gfx.Shape
returns the current shape object or null (see dojox.gfx.defaultPath, dojox.gfx.defaultPolyline, dojox.gfx.defaultRect, dojox.gfx.defaultEllipse, dojox.gfx.defaultCircle, dojox.gfx.defaultLine, or dojox.gfx.defaultImage)
Defined by dojox.gfx.Shape
returns the current stroke object or null (see dojox.gfx.defaultStroke)
Defined by dojox.gfx.Shape
returns the current transformation matrix or null
Defined by dojox.gfx.Shape
returns an array of four points or null four points represent four corners of the untransformed bounding box
formes a horizontal line segment
formes a line segment
formes a move segment
Defined by dojox.gfx.Shape
moves a shape to back of its parent's list of shapes
Defined by dojox.gfx.Shape
moves a shape to front of its parent's list of shapes
formes a quadratic curve segment
formes a quadratic smooth curve segment
FunctionremoveShape(silently: Boolean?)
Defined by dojox.gfx.Shape
removes the shape from its parent's list of shapes
sets an absolute or relative mode for path points
FunctionsetFill(fill: Object)
Defined by dojox.gfx.Shape
sets a fill object (VML)
FunctionsetRawNode(rawNode)
Defined by dojox.gfx.Shape
assigns and clears the underlying node that will represent this shape. Once set, transforms, gradients, etc, can be applied. (no fill & stroke by default)
FunctionsetShape(newShape: Object)
Overrides dojox.gfx.Shape
sets a shape object (SVG)
FunctionsetStroke(stroke: Object)
Defined by dojox.gfx.Shape
sets a stroke object (VML)
Defined by dojox.gfx.Shape
sets a transformation matrix
formes a smooth curve segment
formes a vertical line segment
Function_collectArgs(array: Array, args: Array)
converts an array of arguments to plain numeric values
Defined by dojox.gfx.Shape
returns the cumulative ("real") transformation matrix by combining the shape's matrix with its parent's matrix
Defined by dojox.gfx.Shape
moves a shape to back of its parent's list of shapes (VML)
Defined by dojox.gfx.Shape
moves a shape to front of its parent's list of shapes (VML)
Function_pushSegment(action: String, args: Array)
adds a segment
Function_setFillObject(f, nodeType)
Defined by dojox.gfx.Shape
Defined by dojox.gfx.Shape
sets a parent
forms a path using an SVG path string
Function_translate(dict, value)
Defined by dojox.gfx.Shape
updates the bounding box of path with new point
Defined by dojox.gfx.Shape
updates the parent matrix with new matrix
updates the bounding box of path with new segment

Jump to FunctionsPropertiesBack to top