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_attach reference documentation for more information.
creates a shape from a Node
Parameter | Type | Description |
---|---|---|
node | Node | an SVG node |
creates a surface from a Node
Parameter | Type | Description |
---|---|---|
node | Node | an SVG node |
Parameter | Type | Description |
---|---|---|
parentNode | undefined | |
width | undefined | |
height | undefined |
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 |
looks up a node by its external name
Parameter | Type | Description |
---|---|---|
name | String | an SVG external reference |
returns a DOM Node specified by the name argument or null