| Package | com.kapit.diagram.controls |
| Class | public class SVGIcon |
| Inheritance | SVGIcon flash.display.Sprite |
| Implements | mx.core.IFlexDisplayObject, mx.styles.ISimpleStyleClient |
| Property | Defined by | ||
|---|---|---|---|
| height : Number [read-only]
Height of the SVGIcon.
| SVGIcon | ||
| measuredHeight : Number [read-only]
Measured height of the SVGIcon.
| SVGIcon | ||
| measuredWidth : Number [read-only]
Measured width of the SVGIcon.
| SVGIcon | ||
| styleName : Object
An object representing the SVGIcon style name.
| SVGIcon | ||
| width : Number [read-only]
Width of the SVGIcon.
| SVGIcon | ||
| Property | Defined by | ||
|---|---|---|---|
| _bigbitmap : Bitmap = null | SVGIcon | ||
| _bitmap : Bitmap = null | SVGIcon | ||
| _spriteid : String = "null" | SVGIcon | ||
| _styleobject : Object = null | SVGIcon | ||
| Method | Defined by | ||
|---|---|---|---|
|
SVGIcon()
Creates e new SVGIcon instance.
| SVGIcon | ||
|
imageLoadedHandler(event:SVGAssetLibraryEvent):void
Called whenever an image has completed loading.
| SVGIcon | ||
|
move(x:Number, y:Number):void
Changes the position of the SVGIcon.
| SVGIcon | ||
|
setActualSize(newWidth:Number, newHeight:Number):void
Changes the actual size of the SVGIcon.
| SVGIcon | ||
|
styleChanged(styleProp:String):void
Updates the SVGIcon style when a style property has been changed.
| SVGIcon | ||
| Method | Defined by | ||
|---|---|---|---|
|
loadBitmaps():void
| SVGIcon | ||
| Constant | Defined by | ||
|---|---|---|---|
| ICON_BIGSIZE : uint = 22 | SVGIcon | ||
| ICON_SIZE : uint = 18 | SVGIcon | ||
| _bigbitmap | property |
protected var _bigbitmap:Bitmap = null
| _bitmap | property |
protected var _bitmap:Bitmap = null
| height | property |
height:Number [read-only]Height of the SVGIcon.
Implementation public function get height():Number
| measuredHeight | property |
measuredHeight:Number [read-only]Measured height of the SVGIcon.
Implementation public function get measuredHeight():Number
| measuredWidth | property |
measuredWidth:Number [read-only]Measured width of the SVGIcon.
Implementation public function get measuredWidth():Number
| _spriteid | property |
protected var _spriteid:String = "null"
| styleName | property |
styleName:Object [read-write]An object representing the SVGIcon style name.
Implementation public function get styleName():Object
public function set styleName(value:Object):void
| _styleobject | property |
protected var _styleobject:Object = null
| width | property |
width:Number [read-only]Width of the SVGIcon.
Implementation public function get width():Number
| SVGIcon | () | constructor |
public function SVGIcon()Creates e new SVGIcon instance.
| imageLoadedHandler | () | method |
public function imageLoadedHandler(event:SVGAssetLibraryEvent):voidCalled whenever an image has completed loading.
Parametersevent:SVGAssetLibraryEvent |
| loadBitmaps | () | method |
protected function loadBitmaps():void
| move | () | method |
public function move(x:Number, y:Number):voidChanges the position of the SVGIcon.
Parametersx:Number — The new x coordinate of the SVGIcon.
|
|
y:Number — The new y coordinate of the SVGIcon.
|
| setActualSize | () | method |
public function setActualSize(newWidth:Number, newHeight:Number):voidChanges the actual size of the SVGIcon.
ParametersnewWidth:Number — The new width of the SVGIcon.
|
|
newHeight:Number — The new height of the SVGIcon.
|
| styleChanged | () | method |
public function styleChanged(styleProp:String):voidUpdates the SVGIcon style when a style property has been changed.
ParametersstyleProp:String — The style property that has been changed.
|
| ICON_BIGSIZE | constant |
public const ICON_BIGSIZE:uint = 22
| ICON_SIZE | constant |
public const ICON_SIZE:uint = 18