Login Register Help
API Documentation
Choose a stylesheet:

Namespacedojox.gfx

 

Jump to PropertiesJump to FunctionsJump to ConstructorsNamespacesBack to top

Jump to PropertiesJump to FunctionsJump to NamespacesConstructorsBack to top

a hypothetical 2D point to be used for drawings - {x, y}
a hypothetical rectangle - {x, y, width, height}
Constructordojox.gfx.TextPath(rawNode: Node:)

Jump to PropertiesJump to ConstructorsJump to NamespacesFunctionsBack to top

Functiondojox.gfx.attachNode(node: Node:): for now | dojox.gfx.Shape
creates a shape from a Node
creates a surface from a Node
Functiondojox.gfx.createSurface(parentNode: Node:, width: String:, height: String:): dojox.gfx.Surface
creates a surface (VML)
Functiondojox.gfx.decompose(matrix: dojox.gfx.matrix.Matrix2D:): Object
decompose a 2D matrix into translation, scaling, and rotation components
compares event sources, returns true if they are equal
Functiondojox.gfx.formatNumber(x: Number:, addSpace: Boolean:?): String
converts a number to a string using a fixed notation
converts a font object to a CSS font string
copies the original object, and all copied properties from the "update" object
converts any legal color representation to normalized dojo.Color object
converts any length value to pixels
updates an existing object with properties from an "update" object
Functiondojox.gfx.pt2px(len: Number:): Number
converts points to pixels
Functiondojox.gfx.px2pt(len: Number:): Number
converts pixels to points
returns a number of pixels per point
converts a CSS font string to a font object
Adds the specified classes to the end of the class list on the passed node.
Returns whether or not the specified classes are a portion of the class list currently applied to the node. return (new RegExp('(^|\\s+)'+classStr+'(\\s+|$)')).test(node.className) // Boolean
Removes classes from node.

Jump to FunctionsJump to ConstructorsJump to NamespacesPropertiesBack to top