Constructordojox.gfx.shape.Polyline

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

a generic polyline/polygon (this is a helper object, which is defined for convenience)

Usage

function (/*Node*/ rawNode) (view source)
parametertypedescription
rawNodeNodea DOM Node
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
Overrides dojox.gfx.Shape
returns the bounding box
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)
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
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
FunctionremoveShape(silently: Boolean?)
Defined by dojox.gfx.Shape
removes the shape from its parent's list of shapes
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(points: Object, closed: Boolean)
Overrides dojox.gfx.Shape
sets a polyline/polygon shape object
FunctionsetStroke(stroke: Object)
Defined by dojox.gfx.Shape
sets a stroke object (VML)
Defined by dojox.gfx.Shape
sets a transformation matrix
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_setFillObject(f, nodeType)
Defined by dojox.gfx.Shape
Defined by dojox.gfx.Shape
sets a parent
Function_translate(dict, value)
Defined by dojox.gfx.Shape
Defined by dojox.gfx.Shape
updates the parent matrix with new matrix

Jump to FunctionsPropertiesBack to top