| Package | frocessing.shape |
| Class | public class FShapeContainer |
| Inheritance | FShapeContainer AbstractFShape CanvasStyleAdapter Object |
| Implements | IFShapeContainer |
| Subclasses | FShapeSVG, FShapeUse |
| Property | Defined By | ||
|---|---|---|---|
![]() | caps : String
stroke caps. | AbstractFShape | |
| commands : Array [override] [read-only]
get childs path commannds. | FShapeContainer | ||
![]() | fill : ICanvasFill
fill stye object. | AbstractFShape | |
![]() | fillAlpha : Number
fill alpha. | AbstractFShape | |
![]() | fillColor : uint
fill color. | AbstractFShape | |
![]() | fillEnabled : Boolean
fill style enabled. | AbstractFShape | |
| height : Number [override] [read-only] | FShapeContainer | ||
![]() | joints : String
stroke joints. | AbstractFShape | |
| left : Number [override] [read-only] | FShapeContainer | ||
![]() | 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 | |
![]() | 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 | |
![]() | thickness : Number stroke thickness. | AbstractFShape | |
| top : Number [override] [read-only] | FShapeContainer | ||
![]() | userData : Object | AbstractFShape | |
| vertices : Array [override] [read-only]
get childs path data. | FShapeContainer | ||
| viewbox : FViewBox | FShapeContainer | ||
![]() | visible : Boolean
shape visible. | AbstractFShape | |
| width : Number [override] [read-only] | FShapeContainer | ||
| Method | Defined By | ||
|---|---|---|---|
FShapeContainer(parent_group:IFShapeContainer = null) | FShapeContainer | ||
add shape object to the container. | FShapeContainer | ||
![]() | applyMatrix(mat:Matrix):void
apply matrix( prepend mat to current matrix ). | AbstractFShape | |
disableStyle():void [override] | FShapeContainer | ||
drawGraphics(gc:Graphics):void [override]
the container does not draw anything. | FShapeContainer | ||
enableStyle():void [override] | FShapeContainer | ||
find child by name. | FShapeContainer | ||
get child by name. | FShapeContainer | ||
getChildAt(index:int):IFShape
get child by index. | FShapeContainer | ||
getChildCount():uint
get children number. | FShapeContainer | ||
remove shape object from the container. | FShapeContainer | ||
![]() | resetMatrix():void
reset transfrom. | AbstractFShape | |
![]() | rotate(angle:Number):void
rotate shape. | AbstractFShape | |
![]() | scale(x:Number, y:Number):void
scale shape. | AbstractFShape | |
toSprite():Sprite [override]
make Sprite instance including child shapes. | FShapeContainer | ||
![]() | translate(x:Number, y:Number):void
translate shape. | AbstractFShape | |
![]() | updateShapeGeom():void
update shape rectangle.( left, top, width, height )
| AbstractFShape | |
| commands | property |
commands:Array [read-only] [override] get childs path commannds.
public function get commands():Array| height | property |
height:Number [read-only] [override]
public function get height():Number| left | property |
left:Number [read-only] [override]
public function get left():Number| top | property |
top:Number [read-only] [override]
public function get top():Number| vertices | property |
vertices:Array [read-only] [override] get childs path data.
public function get vertices():Array| viewbox | property |
public var viewbox:FViewBox| width | property |
width:Number [read-only] [override]
public function get width():Number| FShapeContainer | () | Constructor |
public function FShapeContainer(parent_group:IFShapeContainer = null)Parameters
parent_group:IFShapeContainer (default = null) |
| addChild | () | method |
public function addChild(shape:IFShape):IFShapeadd shape object to the container.
Parameters
shape:IFShape |
IFShape |
| disableStyle | () | method |
override public function disableStyle():void
| drawGraphics | () | method |
override public function drawGraphics(gc:Graphics):voidthe container does not draw anything.
Parameters
gc:Graphics |
| enableStyle | () | method |
override public function enableStyle():void
| findChild | () | method |
public function findChild(target:String):IFShapefind child by name. findChild() seek in parent container too.
Parameters
target:String |
IFShape |
| getChild | () | method |
public function getChild(target:String):IFShapeget child by name.
Parameters
target:String |
IFShape |
| getChildAt | () | method |
public function getChildAt(index:int):IFShapeget child by index.
Parameters
index:int |
IFShape |
| getChildCount | () | method |
public function getChildCount():uintget children number.
Returnsuint |
| removeChild | () | method |
public function removeChild(shape:IFShape):IFShaperemove shape object from the container.
Parameters
shape:IFShape |
IFShape |
| toSprite | () | method |
override public function toSprite():Spritemake Sprite instance including child shapes.
ReturnsSprite |