Packageorg.flintparticles.common.displayObjects
Classpublic class Line
InheritanceLine Inheritance flash.display.Shape

The LineShape class is a DisplayObject with a simple line shape. The line is horizontal and the registration point of this display object is in the center of the line.



Public Properties
 PropertyDefined By
  color : uint
Line
  length : Number
Line
Public Methods
 MethodDefined By
  
Line(lineLength:Number = 1, color:uint = 0xFFFFFF, bm:String = normal)
The constructor creates a Line with the specified length.
Line
Property Detail
colorproperty
color:uint


Implementation
    public function get color():uint
    public function set color(value:uint):void
lengthproperty 
length:Number


Implementation
    public function get length():Number
    public function set length(value:Number):void
Constructor Detail
Line()Constructor
public function Line(lineLength:Number = 1, color:uint = 0xFFFFFF, bm:String = normal)

The constructor creates a Line with the specified length.

Parameters
lineLength:Number (default = 1) — The length, in pixels, of the line.
 
color:uint (default = 0xFFFFFF) — the color of the Line
 
bm:String (default = normal) — The blendMode for the Line