| Package | frocessing.shape |
| Class | public class FShapeImage |
| Inheritance | FShapeImage AbstractFShape CanvasStyleAdapter Object |
| Implements | IFShape, IFShapeImage |
| Subclasses | FShapeImageLoader |
| Property | Defined By | ||
|---|---|---|---|
| bitmapData : BitmapData | FShapeImage | ||
![]() | caps : String
stroke caps. | AbstractFShape | |
![]() | commands : Array [read-only]
shape path commands. | AbstractFShape | |
![]() | fill : ICanvasFill
fill stye object. | AbstractFShape | |
![]() | fillAlpha : Number
fill alpha. | AbstractFShape | |
![]() | fillColor : uint
fill color. | AbstractFShape | |
![]() | fillEnabled : Boolean
fill style enabled. | AbstractFShape | |
| height : Number | FShapeImage | ||
![]() | joints : String
stroke joints. | AbstractFShape | |
![]() | left : Number [read-only] | AbstractFShape | |
![]() | 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 | |
| smoothing : Boolean = true | FShapeImage | ||
![]() | 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 [read-only] | AbstractFShape | |
![]() | userData : Object | AbstractFShape | |
![]() | vertices : Array [read-only]
shape path data. | AbstractFShape | |
![]() | visible : Boolean
shape visible. | AbstractFShape | |
| width : Number | FShapeImage | ||
| x : Number | FShapeImage | ||
| y : Number | FShapeImage | ||
| Method | Defined By | ||
|---|---|---|---|
FShapeImage(bitmapdata:BitmapData, x:Number = 0, y:Number = 0, width:Number, height:Number, parent_group:IFShapeContainer = null) | FShapeImage | ||
![]() | applyMatrix(mat:Matrix):void
apply matrix( prepend mat to current matrix ). | AbstractFShape | |
![]() | disableStyle():void
disable stroke and fill styles. | AbstractFShape | |
![]() | drawGraphics(gc:Graphics):void
draw the shape to graphics. | AbstractFShape | |
![]() | enableStyle():void
enable stroke and fill styles. | AbstractFShape | |
![]() | resetMatrix():void
reset transfrom. | AbstractFShape | |
![]() | rotate(angle:Number):void
rotate shape. | AbstractFShape | |
![]() | scale(x:Number, y:Number):void
scale shape. | AbstractFShape | |
![]() | toSprite():Sprite
make new Sprite instance. | AbstractFShape | |
![]() | translate(x:Number, y:Number):void
translate shape. | AbstractFShape | |
updateShapeGeom():void [override]
update shape rectangle.( left, top, width, height )
| FShapeImage | ||
| bitmapData | property |
bitmapData:BitmapData public function get bitmapData():BitmapData public function set bitmapData(value:BitmapData):void| height | property |
height:Number public function get height():Number public function set height(value:Number):void| smoothing | property |
public var smoothing:Boolean = true| width | property |
width:Number public function get width():Number public function set width(value:Number):void| x | property |
x:Number public function get x():Number public function set x(value:Number):void| y | property |
y:Number public function get y():Number public function set y(value:Number):void| 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) |
| updateShapeGeom | () | method |
override public function updateShapeGeom():voidupdate shape rectangle.( left, top, width, height )