Packagefrocessing.shape
Classpublic class FShapeLine
InheritanceFShapeLine Inheritance AbstractFShape Inheritance CanvasStyleAdapter Inheritance Object
Implements IFShape

Line Shape.



Public Properties
 PropertyDefined By
 Inheritedcaps : String
stroke caps.
AbstractFShape
 Inheritedcommands : Array
[read-only] shape path commands.
AbstractFShape
 Inheritedfill : ICanvasFill
fill stye object.
AbstractFShape
 InheritedfillAlpha : Number
fill alpha.
AbstractFShape
 InheritedfillColor : uint
fill color.
AbstractFShape
 InheritedfillEnabled : Boolean
fill style enabled.
AbstractFShape
 Inheritedheight : Number
[read-only]
AbstractFShape
 Inheritedjoints : String
stroke joints.
AbstractFShape
 Inheritedleft : Number
[read-only]
AbstractFShape
 Inheritedmatrix : Matrix
transform matrix( not clone ).
AbstractFShape
 InheritedmiterLimit : Number
stroke miterLimit.
AbstractFShape
 Inheritedname : String
shape object name(id).
AbstractFShape
 Inheritedparent : IFShapeContainer
parent shape container.
AbstractFShape
 InheritedpixelHinting : Boolean
stroke pixelHinting
AbstractFShape
 InheritedscaleMode : String
stroke scaleMode.
AbstractFShape
 Inheritedstroke : ICanvasStroke
stroke style object.
AbstractFShape
 InheritedstrokeAlpha : Number
stroke alpha.
AbstractFShape
 InheritedstrokeColor : uint
stroke color.
AbstractFShape
 InheritedstrokeEnabled : Boolean
stroke style enabled.
AbstractFShape
 InheritedstyleEnabled : Boolean
[read-only]
AbstractFShape
 Inheritedthickness : Number
stroke thickness.
AbstractFShape
 Inheritedtop : Number
[read-only]
AbstractFShape
 InheriteduserData : Object
AbstractFShape
 Inheritedvertices : Array
[read-only] shape path data.
AbstractFShape
 Inheritedvisible : Boolean
shape visible.
AbstractFShape
 Inheritedwidth : Number
[read-only]
AbstractFShape
  x1 : Number
FShapeLine
  x2 : Number
FShapeLine
  y1 : Number
FShapeLine
  y2 : Number
FShapeLine
Public Methods
 MethodDefined By
  
FShapeLine(x1:Number, y1:Number, x2:Number, y2:Number, parent_group:IFShapeContainer = null)
FShapeLine
 Inherited
applyMatrix(mat:Matrix):void
apply matrix( prepend mat to current matrix ).
AbstractFShape
 Inherited
disable stroke and fill styles.
AbstractFShape
 Inherited
drawGraphics(gc:Graphics):void
draw the shape to graphics.
AbstractFShape
 Inherited
enable stroke and fill styles.
AbstractFShape
 Inherited
reset transfrom.
AbstractFShape
 Inherited
rotate(angle:Number):void
rotate shape.
AbstractFShape
 Inherited
scale(x:Number, y:Number):void
scale shape.
AbstractFShape
 Inherited
toSprite():Sprite
make new Sprite instance.
AbstractFShape
 Inherited
translate(x:Number, y:Number):void
translate shape.
AbstractFShape
  
[override] update shape rectangle.( left, top, width, height )
FShapeLine
Property Detail
x1property
x1:Number


Implementation
    public function get x1():Number
    public function set x1(value:Number):void
x2property 
x2:Number


Implementation
    public function get x2():Number
    public function set x2(value:Number):void
y1property 
y1:Number


Implementation
    public function get y1():Number
    public function set y1(value:Number):void
y2property 
y2:Number


Implementation
    public function get y2():Number
    public function set y2(value:Number):void
Constructor Detail
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)
Method Detail
updateShapeGeom()method
override public function updateShapeGeom():void

update shape rectangle.( left, top, width, height )