Package | frocessing.shape |
Class | public class FShapeUse |
Inheritance | FShapeUse FShapeContainer AbstractFShape CanvasStyleAdapter Object |
Method | Defined By | ||
---|---|---|---|
FShapeUse(parent_group:IFShapeContainer = null) | FShapeUse | ||
[override]
add shape object to the container. | FShapeUse | ||
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 | ||
[override]
remove shape object from the container. | FShapeUse | ||
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 |
FShapeUse | () | Constructor |
public function FShapeUse(parent_group:IFShapeContainer = null)
Parameters
parent_group:IFShapeContainer (default = null )
|
addChild | () | method |
override public function addChild(shape:IFShape):IFShape
add shape object to the container. shape parent not updated.
Parameters
shape:IFShape |
IFShape |
removeChild | () | method |
override public function removeChild(shape:IFShape):IFShape
remove shape object from the container. shape parent not updated.
Parameters
shape:IFShape |
IFShape |