| Package | org.igniterealtime.xiff.data.whiteboard |
| Class | public class Fill |
| Inheritance | Fill XMLStanza ExtensionContainer Object |
| Implements | INodeProxy |
| Property | Defined By | ||
|---|---|---|---|
| color : uint
The value of the RGB color. | Fill | ||
| opacity : Number
The opacity of the fill, in percent. | Fill | ||
![]() | xml : XML
The XML node that should be used for this stanza's internal XML representation,
base of the XMLStanza, XML element. | ExtensionContainer | |
| Method | Defined By | ||
|---|---|---|---|
Fill(color:uint = 0, opacity:Number = 100) | Fill | ||
![]() |
Add extension to the list of the given namespace and insert to the XML element as a child. | ExtensionContainer | |
![]() | getAllExtensions():Array | ExtensionContainer | |
![]() | getAllExtensionsByNS(nameSpace:String):Array | ExtensionContainer | |
![]() | getAttribute(name:String):String
Convinience method for getting element value from the XML. | XMLStanza | |
![]() | getChildAttribute(elem:String, name:String):String
Convinience method for getting child element attribute value from the XML. | XMLStanza | |
![]() | getChildField(elem:String, name:String):String
Convinience method for getting child element value from the XML. | XMLStanza | |
![]() | getExtension(elementName:String):IExtension
Get the extension having the given element name. | ExtensionContainer | |
![]() | getField(name:String):String
Convinience method for getting element value from the XML. | XMLStanza | |
![]() | removeAllExtensions(nameSpace:String):void | ExtensionContainer | |
![]() | removeExtension(extension:IExtension):Boolean | ExtensionContainer | |
![]() | removeFields(name:String):void
Helper method for removing all child elements that have the given name. | XMLStanza | |
![]() | setAttribute(name:String, value:String):void
Convinience method for setting a value to a element in the XML. | XMLStanza | |
![]() | setChildAttribute(elem:String, name:String, value:String):void
Convinience method for setting an attribute for a child element of the XML. | XMLStanza | |
![]() | setChildField(elem:String, name:String, value:String):void
Convinience method for setting a value for a child element of the XML. | XMLStanza | |
![]() | setField(name:String, value:String):void
Convinience method for setting a value to a element in the XML. | XMLStanza | |
![]() | toString():String
Converts the base stanza XML to a string. | XMLStanza | |
| Constant | Defined By | ||
|---|---|---|---|
![]() | DEFAULT_NS : Namespace [static]
Default XML namespace. | XMLStanza | |
| ELEMENT_NAME : String = fill [static] | Fill | ||
![]() | FLASH_NS : Namespace [static]
| XMLStanza | |
![]() | STREAM_NS : Namespace [static]
| XMLStanza | |
| color | property |
color:uintThe value of the RGB color. This is the same color format used by MovieClip.lineStyle
public function get color():uint public function set color(value:uint):voidSee also
| opacity | property |
opacity:NumberThe opacity of the fill, in percent. 100 is solid, 0 is transparent. This property can be used as the alpha parameter of MovieClip.lineStyle
public function get opacity():Number public function set opacity(value:Number):voidSee also
| Fill | () | Constructor |
public function Fill(color:uint = 0, opacity:Number = 100)Parameters
color:uint (default = 0) | |
opacity:Number (default = 100) |
| ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = fill