Namespacedojox.gfx


in a variety of browsers. It has individual renderers for SVG, VML,


Canvas, and Silverlight.

dojox.gfx is an advanced API providing normalized vector drawing

Jump to PropertiesJump to FunctionsJump to ConstructorsNamespacesBack to top

Jump to PropertiesJump to FunctionsJump to NamespacesConstructorsBack to top

a group shape (Canvas), which can be used to logically group shapes (e.g, to propagate matricies)
Constructordojox.gfx.Image(rawNode)
an image shape (Canvas)
an object, which makes a shape moveable
an object, which makes a shape follow the mouse, used as a default mover, and as a base class for custom movers
Constructordojox.gfx.Path(rawNode)
a path shape (Canvas)
a hypothetical 2D point to be used for drawings - {x, y}
a polyline/polygon shape (Canvas)
a rectangle shape (Canvas)
a hypothetical rectangle - {x, y, width, height}
a surface object to be used for drawings (Canvas)
Constructordojox.gfx.Text(rawNode)
a text shape (Canvas)
a text shape (Canvas)

Jump to PropertiesJump to ConstructorsJump to NamespacesFunctionsBack to top

creates a shape from a Node
creates a surface from a Node
a circle shape (Canvas)
Functiondojox.gfx.createSurface(parentNode: Node, width: String, height: String)
creates a surface (Silverlight)
decompose a 2D matrix into translation, scaling, and rotation components
an ellipse shape (Canvas)
compares event sources, returns true if they are equal
converts a number to a string using a fixed notation
Functiondojox.gfx.Line(rawNode)
a line shape (Canvas)
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
converts points to pixels
converts pixels to points
returns a number of pixels per point
a Shape object, which knows how to apply graphical attributes and transformations
converts a CSS font string to a font object

Jump to FunctionsJump to ConstructorsJump to NamespacesPropertiesBack to top