Packagefrocessing.shape
Classpublic class FShapeImageLoader
InheritanceFShapeImageLoader Inheritance FShapeImage Inheritance AbstractFShape Inheritance CanvasStyleAdapter Inheritance Object
Implements IFShape, IObjectLoader

Image Shape Loader.



Public Properties
 PropertyDefined By
 InheritedbitmapData : BitmapData
FShapeImage
 Inheritedcaps : String
stroke caps.
AbstractFShape
 Inheritedcommands : Array
[read-only] shape path commands.
AbstractFShape
 Inheritedfill : ICanvasFill
fill stye object.
AbstractFShape
 InheritedfillAlpha : Number
fill alpha.
AbstractFShape
 InheritedfillColor : uint
fill color.
AbstractFShape
 InheritedfillEnabled : Boolean
fill style enabled.
AbstractFShape
 Inheritedheight : Number
FShapeImage
 Inheritedjoints : String
stroke joints.
AbstractFShape
 Inheritedleft : Number
[read-only]
AbstractFShape
 Inheritedmatrix : Matrix
transform matrix( not clone ).
AbstractFShape
 InheritedmiterLimit : Number
stroke miterLimit.
AbstractFShape
 Inheritedname : String
shape object name(id).
AbstractFShape
 Inheritedparent : IFShapeContainer
parent shape container.
AbstractFShape
 InheritedpixelHinting : Boolean
stroke pixelHinting
AbstractFShape
 InheritedscaleMode : String
stroke scaleMode.
AbstractFShape
 Inheritedsmoothing : Boolean = true
FShapeImage
  status : int
[read-only] load status.
FShapeImageLoader
 Inheritedstroke : ICanvasStroke
stroke style object.
AbstractFShape
 InheritedstrokeAlpha : Number
stroke alpha.
AbstractFShape
 InheritedstrokeColor : uint
stroke color.
AbstractFShape
 InheritedstrokeEnabled : Boolean
stroke style enabled.
AbstractFShape
 InheritedstyleEnabled : Boolean
[read-only]
AbstractFShape
  success : Boolean
[read-only] load completed.
FShapeImageLoader
 Inheritedthickness : Number
stroke thickness.
AbstractFShape
 Inheritedtop : Number
[read-only]
AbstractFShape
 InheriteduserData : Object
AbstractFShape
 Inheritedvertices : Array
[read-only] shape path data.
AbstractFShape
 Inheritedvisible : Boolean
shape visible.
AbstractFShape
 Inheritedwidth : Number
FShapeImage
 Inheritedx : Number
FShapeImage
 Inheritedy : Number
FShapeImage
Public Methods
 MethodDefined 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
 Inherited
applyMatrix(mat:Matrix):void
apply matrix( prepend mat to current matrix ).
AbstractFShape
 Inherited
disable stroke and fill styles.
AbstractFShape
 Inherited
drawGraphics(gc:Graphics):void
draw the shape to graphics.
AbstractFShape
 Inherited
enable stroke and fill styles.
AbstractFShape
 Inherited
reset transfrom.
AbstractFShape
 Inherited
rotate(angle:Number):void
rotate shape.
AbstractFShape
 Inherited
scale(x:Number, y:Number):void
scale shape.
AbstractFShape
 Inherited
toSprite():Sprite
make new Sprite instance.
AbstractFShape
 Inherited
translate(x:Number, y:Number):void
translate shape.
AbstractFShape
 Inherited
[override] update shape rectangle.( left, top, width, height )
FShapeImage
Property Detail
statusproperty
status:int  [read-only]

load status. 0:loading, 1:complete, -1:error


Implementation
    public function get status():int
successproperty 
success:Boolean  [read-only]

load completed.


Implementation
    public function get success():Boolean
Constructor Detail
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)