| Package | frocessing.shape |
| Class | public class FShapeImageLoader |
| Inheritance | FShapeImageLoader FShapeImage AbstractFShape CanvasStyleAdapter Object |
| Implements | IFShape, IObjectLoader |
| Property | Defined By | ||
|---|---|---|---|
![]() | bitmapData : BitmapData | FShapeImage | |
![]() | caps : String
stroke caps. | AbstractFShape | |
![]() | commands : Array [read-only]
shape path commands. | AbstractFShape | |
![]() | fill : ICanvasFill
fill stye object. | AbstractFShape | |
![]() | fillAlpha : Number
fill alpha. | AbstractFShape | |
![]() | fillColor : uint
fill color. | AbstractFShape | |
![]() | fillEnabled : Boolean
fill style enabled. | AbstractFShape | |
![]() | height : Number | FShapeImage | |
![]() | joints : String
stroke joints. | AbstractFShape | |
![]() | left : Number [read-only] | AbstractFShape | |
![]() | matrix : Matrix
transform matrix( not clone ). | AbstractFShape | |
![]() | miterLimit : Number stroke miterLimit. | AbstractFShape | |
![]() | name : String
shape object name(id). | AbstractFShape | |
![]() | parent : IFShapeContainer
parent shape container. | AbstractFShape | |
![]() | pixelHinting : Boolean stroke pixelHinting | AbstractFShape | |
![]() | scaleMode : String
stroke scaleMode. | AbstractFShape | |
![]() | smoothing : Boolean = true | FShapeImage | |
| status : int [read-only]
load status. | FShapeImageLoader | ||
![]() | stroke : ICanvasStroke
stroke style object. | AbstractFShape | |
![]() | strokeAlpha : Number
stroke alpha. | AbstractFShape | |
![]() | strokeColor : uint
stroke color. | AbstractFShape | |
![]() | strokeEnabled : Boolean
stroke style enabled. | AbstractFShape | |
![]() | styleEnabled : Boolean [read-only] | AbstractFShape | |
| success : Boolean [read-only]
load completed. | FShapeImageLoader | ||
![]() | thickness : Number stroke thickness. | AbstractFShape | |
![]() | top : Number [read-only] | AbstractFShape | |
![]() | userData : Object | AbstractFShape | |
![]() | vertices : Array [read-only]
shape path data. | AbstractFShape | |
![]() | visible : Boolean
shape visible. | AbstractFShape | |
![]() | width : Number | FShapeImage | |
![]() | x : Number | FShapeImage | |
![]() | y : Number | FShapeImage | |
| Method | Defined By | ||
|---|---|---|---|
FShapeImageLoader(url:String, loader:Loader = null, callback:Function = null, x:Number = 0, y:Number = 0, width:Number, height:Number, parent_group:IFShapeContainer = null) | FShapeImageLoader | ||
![]() | applyMatrix(mat:Matrix):void
apply matrix( prepend mat to current matrix ). | AbstractFShape | |
![]() | disableStyle():void
disable stroke and fill styles. | AbstractFShape | |
![]() | drawGraphics(gc:Graphics):void
draw the shape to graphics. | AbstractFShape | |
![]() | enableStyle():void
enable stroke and fill styles. | AbstractFShape | |
![]() | resetMatrix():void
reset transfrom. | AbstractFShape | |
![]() | rotate(angle:Number):void
rotate shape. | AbstractFShape | |
![]() | scale(x:Number, y:Number):void
scale shape. | AbstractFShape | |
![]() | toSprite():Sprite
make new Sprite instance. | AbstractFShape | |
![]() | translate(x:Number, y:Number):void
translate shape. | AbstractFShape | |
![]() | updateShapeGeom():void [override]
update shape rectangle.( left, top, width, height )
| FShapeImage | |
| status | property |
status:int [read-only] load status. 0:loading, 1:complete, -1:error
public function get status():int| success | property |
success:Boolean [read-only] load completed.
public function get success():Boolean| FShapeImageLoader | () | Constructor |
public function FShapeImageLoader(url:String, loader:Loader = null, callback:Function = null, x:Number = 0, y:Number = 0, width:Number, height:Number, parent_group:IFShapeContainer = null)Parameters
url:String | |
loader:Loader (default = null) | |
callback:Function (default = null) | |
x:Number (default = 0) | |
y:Number (default = 0) | |
width:Number (default = NaN) | |
height:Number (default = NaN) | |
parent_group:IFShapeContainer (default = null) |