Packagefrocessing.shape
Classpublic class FShapeImage
InheritanceFShapeImage Inheritance AbstractFShape Inheritance CanvasStyleAdapter Inheritance Object
Implements IFShape, IFShapeImage
Subclasses FShapeImageLoader

Image Shape.



Public Properties
 PropertyDefined By
  bitmapData : 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
  height : 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
  smoothing : Boolean = true
FShapeImage
 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
 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
  width : Number
FShapeImage
  x : Number
FShapeImage
  y : Number
FShapeImage
Public Methods
 MethodDefined By
  
FShapeImage(bitmapdata:BitmapData, x:Number = 0, y:Number = 0, width:Number, height:Number, parent_group:IFShapeContainer = null)
FShapeImage
 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
  
[override] update shape rectangle.( left, top, width, height )
FShapeImage
Property Detail
bitmapDataproperty
bitmapData:BitmapData


Implementation
    public function get bitmapData():BitmapData
    public function set bitmapData(value:BitmapData):void
heightproperty 
height:Number


Implementation
    public function get height():Number
    public function set height(value:Number):void
smoothingproperty 
public var smoothing:Boolean = true

widthproperty 
width:Number


Implementation
    public function get width():Number
    public function set width(value:Number):void
xproperty 
x:Number


Implementation
    public function get x():Number
    public function set x(value:Number):void
yproperty 
y:Number


Implementation
    public function get y():Number
    public function set y(value:Number):void
Constructor Detail
FShapeImage()Constructor
public function FShapeImage(bitmapdata:BitmapData, x:Number = 0, y:Number = 0, width:Number, height:Number, parent_group:IFShapeContainer = null)

Parameters
bitmapdata:BitmapData
 
x:Number (default = 0)
 
y:Number (default = 0)
 
width:Number (default = NaN)
 
height:Number (default = NaN)
 
parent_group:IFShapeContainer (default = null)
Method Detail
updateShapeGeom()method
override public function updateShapeGeom():void

update shape rectangle.( left, top, width, height )