| Package | com.zavoo.svg.nodes |
| Class | public class SVGClipPathNode |
| Inheritance | SVGClipPathNode SVGNode flash.display.Sprite |
| Property | Defined by | ||
|---|---|---|---|
| revision : uint [read-only]
Current node revision, used for tracking changes
| SVGClipPathNode | ||
![]() | svgRoot : SVGRoot
Recursively searches for the root node
| SVGNode | |
| xml : XML [write-only]
Increment _revision every time xml is updated
| SVGClipPathNode | ||
| Method | Defined by | ||
|---|---|---|---|
|
SVGClipPathNode(xml:XML)
| SVGClipPathNode | ||
![]() |
getStyle(name:String):String
Get a node style (ex: fill, stroke, etc..)
Also checks parent nodes for the value if it is not set in the current node.
| SVGNode | |
![]() |
invalidateDisplay():void
Force a redraw of a node and its children
| SVGNode | |
![]() |
setStyle(name:String, value:String):void
Set node style to new value
Updates SVG XML and then calls refreshGraphis()
| SVGNode | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
clearChildren():void
Remove all child nodes
| SVGNode | |
|
draw():void
Override parent function to do nothing
| SVGClipPathNode | ||
|
generateGraphicsCommands():void
Override parent function to do nothing except create a blank _graphicsCommands array
| SVGClipPathNode | ||
![]() |
getAttribute(attribute:*, defaultValue:* = null):*
| SVGNode | |
![]() |
loadAttribute(name:String, field:String = null):void
Load an XML attribute into the current node
| SVGNode | |
![]() |
loadStyle(name:String, field:String = null):void
Load an SVG style into the current node
| SVGNode | |
![]() |
nodeBeginFill():void
Called at the start of drawing an SVG element.
| SVGNode | |
![]() |
nodeEndFill():void
Called at the end of drawing an SVG element
| SVGNode | |
|
parse():void
Override parent function to do nothing
| SVGClipPathNode | ||
![]() |
redrawNode(event:Event):void
Triggers on ENTER_FRAME event
Redraws node graphics if _invalidDisplay == true
| SVGNode | |
![]() |
registerId(event:Event):void
If node has an "id" attribute, register it with the root node
| SVGNode | |
![]() |
runGraphicsCommands():void
Execute graphics commands contained in var _graphicsCommands
| SVGNode | |
![]() |
setAttributes():void
Load attributes/styling from the XML.
| SVGNode | |
![]() |
setupFilters():void
Add any assigned filters to node
| SVGNode | |
![]() |
transformNode():void
Perform transformations defined by the transform attribute
| SVGNode | |
| revision | property |
revision:uint [read-only]Current node revision, used for tracking changes
Implementation public function get revision():uint
| xml | property |
xml:XML [write-only]Increment _revision every time xml is updated
Implementation public function set xml(value:XML):void
| SVGClipPathNode | () | constructor |
public function SVGClipPathNode(xml:XML)Parameters
xml:XML |
| draw | () | method |
protected override function draw():voidOverride parent function to do nothing
| generateGraphicsCommands | () | method |
protected override function generateGraphicsCommands():voidOverride parent function to do nothing except create a blank _graphicsCommands array
| parse | () | method |
protected override function parse():voidOverride parent function to do nothing