Packagefrocessing.shape
Classpublic class FShape
InheritanceFShape Inheritance AbstractFShape Inheritance CanvasStyleAdapter Inheritance Object
Implements IFShape

Path Shape



Public Properties
 PropertyDefined By
  bezierDetail : uint = 20
the segment number of lines when draw bezier.
FShape
 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
[override] [read-only]
FShape
 Inheritedjoints : String
stroke joints.
AbstractFShape
  left : Number
[override] [read-only]
FShape
 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
 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
  top : Number
[override] [read-only]
FShape
 InheriteduserData : Object
AbstractFShape
 Inheritedvertices : Array
[read-only] shape path data.
AbstractFShape
 Inheritedvisible : Boolean
shape visible.
AbstractFShape
  width : Number
[override] [read-only]
FShape
Public Methods
 MethodDefined By
  
FShape(commands:Array = null, vertices:Array = null, parent_group:IFShapeContainer = null)
FShape
 Inherited
applyMatrix(mat:Matrix):void
apply matrix( prepend mat to current matrix ).
AbstractFShape
  
bezierTo(cx0:Number, cy0:Number, cx1:Number, cy1:Number, x:Number, y:Number):void
FShape
  
closePath():void
FShape
  
curveTo(cx:Number, cy:Number, x:Number, y:Number):void
FShape
 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
  
lineTo(x:Number, y:Number):void
FShape
  
moveTo(x:Number, y:Number):void
FShape
 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 )
FShape
Property Detail
bezierDetailproperty
public var bezierDetail:uint = 20

the segment number of lines when draw bezier.

heightproperty 
height:Number  [read-only] [override]


Implementation
    public function get height():Number
leftproperty 
left:Number  [read-only] [override]


Implementation
    public function get left():Number
topproperty 
top:Number  [read-only] [override]


Implementation
    public function get top():Number
widthproperty 
width:Number  [read-only] [override]


Implementation
    public function get width():Number
Constructor Detail
FShape()Constructor
public function FShape(commands:Array = null, vertices:Array = null, parent_group:IFShapeContainer = null)

Parameters
commands:Array (default = null)
 
vertices:Array (default = null)
 
parent_group:IFShapeContainer (default = null)
Method Detail
bezierTo()method
public function bezierTo(cx0:Number, cy0:Number, cx1:Number, cy1:Number, x:Number, y:Number):void

Parameters

cx0:Number
 
cy0:Number
 
cx1:Number
 
cy1:Number
 
x:Number
 
y:Number

closePath()method 
public function closePath():void

curveTo()method 
public function curveTo(cx:Number, cy:Number, x:Number, y:Number):void

Parameters

cx:Number
 
cy:Number
 
x:Number
 
y:Number

lineTo()method 
public function lineTo(x:Number, y:Number):void

Parameters

x:Number
 
y:Number

moveTo()method 
public function moveTo(x:Number, y:Number):void

Parameters

x:Number
 
y:Number

updateShapeGeom()method 
override public function updateShapeGeom():void

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