Packagecom.zavoo.svg.nodes.mask
Classpublic class SVGMask
InheritanceSVGMask Inheritance SVGNode Inheritance flash.display.Sprite

Class used internally to create a node mask. It is not the same as an SVG mask node



Public Properties
 PropertyDefined by
 InheritedsvgRoot : SVGRoot
Recursively searches for the root node
SVGNode
 Inheritedxml : XML
SVG XML
SVGNode
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
  
SVGMask(clipPathNode:SVGClipPathNode)
SVGMask
  
getStyle(name:String):String
Override default fill and stroke styles
SVGMask
 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
SVGMask
 Inherited
Called to generate AS3 graphics commands from the SVG instructions
SVGNode
 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
  
SVGMask
 Inherited
nodeEndFill():void
Called at the end of drawing an SVG element
SVGNode
 Inherited
parse():void
Parse the SVG XML.
SVGNode
 Inherited
redrawNode(event:Event):void
Triggers on ENTER_FRAME event Redraws node graphics if _invalidDisplay == true
SVGNode
  
registerId(event:Event):void
SVGMask is a copy, do not register
SVGMask
 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
Constructor detail
SVGMask()constructor
public function SVGMask(clipPathNode:SVGClipPathNode)Parameters
clipPathNode:SVGClipPathNode
Method detail
draw()method
protected override function draw():void
getStyle()method 
public override function getStyle(name:String):String

Override default fill and stroke styles

Parameters
name:String

Returns
String
nodeBeginFill()method 
protected override function nodeBeginFill():void
registerId()method 
protected override function registerId(event:Event):void

SVGMask is a copy, do not register

Parameters
event:Event