dojox/gfx3d/_base.Path3d (version 1.10)

Usage

var foo = new _base.Path3d();
dojox/gfx3d/object

See the dojox/gfx3d/_base.Path3d reference documentation for more information.

Property Summary

Method Summary

Properties

_validSegments
Defined by: dojox/gfx3d/object

Methods

_collectArgs(array,args)
Defined by dojox/gfx3d/object

converts an array of arguments to plain numeric values

Parameter Type Description
array Array

an output argument (array of numbers)

args Array

an input argument (can be values of Boolean, Number, dojox.gfx.Point, or an embedded array of them)

_draw()
Defined by dojox/gfx3d/object
Returns:undefined
_pushSegment(action,args)
Defined by dojox/gfx3d/object

adds a segment

Parameter Type Description
action String

valid SVG code for a segment's type

args Array

a list of parameters for this segment

applyLeftTransform(matrix)
Defined by dojox/gfx3d/object

multiplies the existing matrix with an argument on left side (matrix * this.matrix)

Parameter Type Description
matrix dojox.gfx3d.matrix.Matrix

a matrix or a matrix-like object (see an argument of dojox.gfx.matrix.Matrix constructor for a list of acceptable arguments)

Returns:function

multiplies the existing matrix with an argument on left side (matrix * this.matrix)

applyRightTransform(matrix)
Defined by dojox/gfx3d/object

multiplies the existing matrix with an argument on right side (this.matrix * matrix)

Parameter Type Description
matrix dojox.gfx3d.matrix.Matrix

a matrix or a matrix-like object (see an argument of dojox.gfx.matrix.Matrix constructor for a list of acceptable arguments)

Returns:function

multiplies the existing matrix with an argument on right side (this.matrix * matrix)

applyTransform(matrix)
Defined by dojox/gfx3d/object

a shortcut for dojox.gfx.Shape.applyRightTransform

Parameter Type Description
matrix dojox.gfx3d.matrix.Matrix

a matrix or a matrix-like object (see an argument of dojox.gfx.matrix.Matrix constructor for a list of acceptable arguments)

Returns:function

a shortcut for dojox.gfx.Shape.applyRightTransform

closePath()
Defined by dojox/gfx3d/object

closes a path

Returns:function

closes a path

destroy()
Defined by dojox/gfx3d/object
draw(lighting)
Defined by dojox/gfx3d/object
Parameter Type Description
lighting undefined
getOutline()
Defined by dojox/gfx3d/object
Returns:null
getZOrder()
Defined by dojox/gfx3d/object
Returns:number
invalidate()
Defined by dojox/gfx3d/object
lineTo()
Defined by dojox/gfx3d/object

forms a line segment

Returns:function

forms a line segment

moveTo()
Defined by dojox/gfx3d/object

forms a move segment

Returns:function

forms a move segment

render(camera)
Defined by dojox/gfx3d/object
Parameter Type Description
camera undefined
setFill(fill)
Defined by dojox/gfx3d/object

sets a fill object (the default implementation is to delegate to the underlying 2D shape).

Parameter Type Description
fill Object

a fill object (see dojox.gfx.defaultLinearGradient, dojox.gfx.defaultRadialGradient, dojox.gfx.defaultPattern, dojo.Color or dojox.gfx.MODEL)

Returns:function

sets a fill object (the default implementation is to delegate to the underlying 2D shape).

setObject(newObject)
Defined by dojox/gfx3d/object

sets a Object object

Parameter Type Description
newObject undefined
Returns:function

sets a Object object

setStroke(stroke)
Defined by dojox/gfx3d/object

sets a stroke object (the default implementation simply ignores it)

Parameter Type Description
stroke Object

a stroke object (see dojox.gfx.defaultStroke)

Returns:function

sets a stroke object (the default implementation simply ignores it)

setTransform(matrix)
Defined by dojox/gfx3d/object

sets a transformation matrix

Parameter Type Description
matrix undefined
Returns:function

sets a transformation matrix

toStdFill(lighting,normal)
Defined by dojox/gfx3d/object
Parameter Type Description
lighting undefined
normal undefined
Returns:undefined
Error in the documentation? Can’t find what you are looking for? Let us know!