Package | frocessing.shape |
Class | public class FShapeRect |
Inheritance | FShapeRect AbstractFShape CanvasStyleAdapter Object |
Implements | IFShape |
Property | Defined By | ||
---|---|---|---|
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 | FShapeRect | ||
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 | ||
rx : Number | FShapeRect | ||
ry : Number | FShapeRect | ||
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 [read-only] | AbstractFShape | ||
userData : Object | AbstractFShape | ||
vertices : Array [read-only]
shape path data. | AbstractFShape | ||
visible : Boolean
shape visible. | AbstractFShape | ||
width : Number | FShapeRect | ||
x : Number | FShapeRect | ||
y : Number | FShapeRect |
Method | Defined By | ||
---|---|---|---|
FShapeRect(x:Number, y:Number, width:Number, height:Number, rx:Number = 0, ry:Number = 0, parent_group:IFShapeContainer = null) | FShapeRect | ||
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 )
| FShapeRect |
height | property |
height:Number
public function get height():Number
public function set height(value:Number):void
rx | property |
rx:Number
public function get rx():Number
public function set rx(value:Number):void
ry | property |
ry:Number
public function get ry():Number
public function set ry(value:Number):void
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
FShapeRect | () | Constructor |
public function FShapeRect(x:Number, y:Number, width:Number, height:Number, rx:Number = 0, ry:Number = 0, parent_group:IFShapeContainer = null)
Parameters
x:Number | |
y:Number | |
width:Number | |
height:Number | |
rx:Number (default = 0 )
| |
ry:Number (default = 0 )
| |
parent_group:IFShapeContainer (default = null )
|
updateShapeGeom | () | method |
override public function updateShapeGeom():void
update shape rectangle.( left, top, width, height )