| Package | frocessing.shape |
| Class | public class FShapeLine |
| Inheritance | FShapeLine 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 [read-only] | AbstractFShape | |
![]() | 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 | |
![]() | 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 [read-only] | AbstractFShape | |
| x1 : Number | FShapeLine | ||
| x2 : Number | FShapeLine | ||
| y1 : Number | FShapeLine | ||
| y2 : Number | FShapeLine | ||
| Method | Defined By | ||
|---|---|---|---|
FShapeLine(x1:Number, y1:Number, x2:Number, y2:Number, parent_group:IFShapeContainer = null) | FShapeLine | ||
![]() | 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 )
| FShapeLine | ||
| x1 | property |
x1:Number public function get x1():Number public function set x1(value:Number):void| x2 | property |
x2:Number public function get x2():Number public function set x2(value:Number):void| y1 | property |
y1:Number public function get y1():Number public function set y1(value:Number):void| y2 | property |
y2:Number public function get y2():Number public function set y2(value:Number):void| FShapeLine | () | Constructor |
public function FShapeLine(x1:Number, y1:Number, x2:Number, y2:Number, parent_group:IFShapeContainer = null)Parameters
x1:Number | |
y1:Number | |
x2:Number | |
y2:Number | |
parent_group:IFShapeContainer (default = null) |
| updateShapeGeom | () | method |
override public function updateShapeGeom():voidupdate shape rectangle.( left, top, width, height )