Packagecom.zavoo.svg.nodes
Classpublic class SVGClipPathNode
InheritanceSVGClipPathNode Inheritance SVGNode Inheritance flash.display.Sprite



Public Properties
 PropertyDefined by
  revision : uint
[read-only] Current node revision, used for tracking changes
SVGClipPathNode
 InheritedsvgRoot : SVGRoot
Recursively searches for the root node
SVGNode
  xml : XML
[write-only] Increment _revision every time xml is updated
SVGClipPathNode
Protected Properties
 PropertyDefined by
 Inherited_graphicsCommands : Array
List of graphics commands to draw node.
SVGNode
 Inherited_invalidDisplay : Boolean = false
If true, redraw sprite graphics Set to true on any change to xml
SVGNode
 Inherited_style : Object
Used for caching node attribute style values.
SVGNode
 Inherited_xml : XML
SVG XML for this node
SVGNode
Public Methods
 MethodDefined by
  
SVGClipPathNode(xml:XML)
SVGClipPathNode
 Inherited
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
 Inherited
Force a redraw of a node and its children
SVGNode
 Inherited
setStyle(name:String, value:String):void
Set node style to new value Updates SVG XML and then calls refreshGraphis()
SVGNode
Protected Methods
 MethodDefined by
 Inherited
Remove all child nodes
SVGNode
  
draw():void
Override parent function to do nothing
SVGClipPathNode
  
Override parent function to do nothing except create a blank _graphicsCommands array
SVGClipPathNode
 Inherited
getAttribute(attribute:*, defaultValue:* = null):*
SVGNode
 Inherited
loadAttribute(name:String, field:String = null):void
Load an XML attribute into the current node
SVGNode
 Inherited
loadStyle(name:String, field:String = null):void
Load an SVG style into the current node
SVGNode
 Inherited
Called at the start of drawing an SVG element.
SVGNode
 Inherited
nodeEndFill():void
Called at the end of drawing an SVG element
SVGNode
  
parse():void
Override parent function to do nothing
SVGClipPathNode
 Inherited
redrawNode(event:Event):void
Triggers on ENTER_FRAME event Redraws node graphics if _invalidDisplay == true
SVGNode
 Inherited
registerId(event:Event):void
If node has an "id" attribute, register it with the root node
SVGNode
 Inherited
Execute graphics commands contained in var _graphicsCommands
SVGNode
 Inherited
Load attributes/styling from the XML.
SVGNode
 Inherited
setupFilters():void
Add any assigned filters to node
SVGNode
 Inherited
Perform transformations defined by the transform attribute
SVGNode
Public Constants
 ConstantDefined by
 InheritedattributeList : Array
[static]
SVGNode
Property detail
revisionproperty
revision:uint  [read-only]

Current node revision, used for tracking changes

Implementation
    public function get revision():uint
xmlproperty 
xml:XML  [write-only]

Increment _revision every time xml is updated

Implementation
    public function set xml(value:XML):void
Constructor detail
SVGClipPathNode()constructor
public function SVGClipPathNode(xml:XML)Parameters
xml:XML
Method detail
draw()method
protected override function draw():void

Override parent function to do nothing

generateGraphicsCommands()method 
protected override function generateGraphicsCommands():void

Override parent function to do nothing except create a blank _graphicsCommands array

parse()method 
protected override function parse():void

Override parent function to do nothing