Packagefrocessing.shape
Classpublic class FShapeUse
InheritanceFShapeUse Inheritance FShapeContainer Inheritance AbstractFShape Inheritance CanvasStyleAdapter Inheritance Object

Use Container.



Public Properties
 PropertyDefined By
 Inheritedcaps : String
stroke caps.
AbstractFShape
 Inheritedcommands : Array
[override] [read-only] get childs path commannds.
FShapeContainer
 Inheritedfill : ICanvasFill
fill stye object.
AbstractFShape
 InheritedfillAlpha : Number
fill alpha.
AbstractFShape
 InheritedfillColor : uint
fill color.
AbstractFShape
 InheritedfillEnabled : Boolean
fill style enabled.
AbstractFShape
 Inheritedheight : Number
[override] [read-only]
FShapeContainer
 Inheritedjoints : String
stroke joints.
AbstractFShape
 Inheritedleft : Number
[override] [read-only]
FShapeContainer
 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
 Inheritedtop : Number
[override] [read-only]
FShapeContainer
 InheriteduserData : Object
AbstractFShape
 Inheritedvertices : Array
[override] [read-only] get childs path data.
FShapeContainer
 Inheritedviewbox : FViewBox
FShapeContainer
 Inheritedvisible : Boolean
shape visible.
AbstractFShape
 Inheritedwidth : Number
[override] [read-only]
FShapeContainer
Public Methods
 MethodDefined By
  
FShapeUse(parent_group:IFShapeContainer = null)
FShapeUse
  
[override] add shape object to the container.
FShapeUse
 Inherited
applyMatrix(mat:Matrix):void
apply matrix( prepend mat to current matrix ).
AbstractFShape
 Inherited
[override]
FShapeContainer
 Inherited
drawGraphics(gc:Graphics):void
[override] the container does not draw anything.
FShapeContainer
 Inherited
[override]
FShapeContainer
 Inherited
findChild(target:String):IFShape
find child by name.
FShapeContainer
 Inherited
getChild(target:String):IFShape
get child by name.
FShapeContainer
 Inherited
getChildAt(index:int):IFShape
get child by index.
FShapeContainer
 Inherited
get children number.
FShapeContainer
  
[override] remove shape object from the container.
FShapeUse
 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
[override] make Sprite instance including child shapes.
FShapeContainer
 Inherited
translate(x:Number, y:Number):void
translate shape.
AbstractFShape
 Inherited
update shape rectangle.( left, top, width, height )
AbstractFShape
Constructor Detail
FShapeUse()Constructor
public function FShapeUse(parent_group:IFShapeContainer = null)

Parameters
parent_group:IFShapeContainer (default = null)
Method Detail
addChild()method
override public function addChild(shape:IFShape):IFShape

add shape object to the container. shape parent not updated.

Parameters

shape:IFShape

Returns
IFShape
removeChild()method 
override public function removeChild(shape:IFShape):IFShape

remove shape object from the container. shape parent not updated.

Parameters

shape:IFShape

Returns
IFShape