dojox/gfx/svg (version 1.10)

Summary

This the graphics rendering bridge for browsers compliant with W3C SVG1.0. This is the preferred renderer to use for interactive and accessible graphics.

See the dojox/gfx/svg reference documentation for more information.

Property Summary

Method Summary

Properties

Container
Defined by: dojox/gfx/svg
Creator
Defined by: dojox/gfx/svg

SVG shape creators

dasharray
Defined by: dojox/gfx/svg
useSvgWeb
Defined by: dojox/gfx/svg
xmlns
Defined by: dojox/gfx/svg

Methods

attachNode(node)

creates a shape from a Node

Parameter Type Description
node Node

an SVG node

attachSurface(node)

creates a surface from a Node

Parameter Type Description
node Node

an SVG node

Circle()
Defined by dojox/gfx/svg
createSurface(parentNode,width,height)
Defined by dojox/gfx/svg
Parameter Type Description
parentNode undefined
width undefined
height undefined
Ellipse()
Defined by dojox/gfx/svg
fixTarget(event,gfxElement)
Defined by dojox/gfx/svg

Adds the gfxElement to event.gfxTarget if none exists. This new property will carry the GFX element associated with this event.

Parameter Type Description
event Object

The current input event (MouseEvent or TouchEvent)

gfxElement Object

The GFX target element

getRef(name)
Defined by dojox/gfx/svg

looks up a node by its external name

Parameter Type Description
name String

an SVG external reference

Returns:any | null | undefined

returns a DOM Node specified by the name argument or null

Group()
Defined by dojox/gfx/svg
Image()
Defined by dojox/gfx/svg
Line()
Defined by dojox/gfx/svg
Mask()
Defined by dojox/gfx/svg_mask
Path()
Defined by dojox/gfx/svg
Polyline()
Defined by dojox/gfx/svg
Rect()
Defined by dojox/gfx/svg
Shape()
Defined by dojox/gfx/svg
Surface()
Defined by dojox/gfx/svg
Text()
Defined by dojox/gfx/svg
TextPath()
Defined by dojox/gfx/svg
Error in the documentation? Can’t find what you are looking for? Let us know!