Packagelaya.webgl.shapes
Classpublic class Line
InheritanceLine Inheritance BasePoly Inheritance Object



Public Properties
 PropertyDefined By
 Inheritedcolor : uint
BasePoly
 Inheritedfill : Boolean = true
BasePoly
 Inheritedx : Number
BasePoly
Protected Properties
 PropertyDefined By
 InheritedmFloat32Array : Float32Array
BasePoly
 InheritedmUint16Array : Uint16Array
BasePoly
Public Methods
 MethodDefined By
  
Line(x:Number, y:Number, points:Array, borderWidth:int, color:uint)
Line
 Inherited
createLoopLine(p:Array, indices:Array, lineWidth:Number, len:Number, outVertex:Array = null, outIndex:Array = null):Array
BasePoly
  
getData(ib:Buffer2D, vb:Buffer2D, start:int):void
[override]
Line
 Inherited
needUpdate(mat:Matrix):Boolean
BasePoly
  
rebuild(points:Array):void
[override]
Line
 Inherited
setMatrix(mat:Matrix):void
BasePoly
Protected Methods
 MethodDefined By
 Inherited
createLine(p:Array, indices:Array, lineWidth:Number, len:Number):Array
BasePoly
 Inherited
createLine2(p:Array, indices:Array, lineWidth:Number, len:Number, outVertex:Array, indexCount:int):Array
BasePoly
 Inherited
sector(outVert:Array, outIndex:Array, start:int):void
BasePoly
Constructor Detail
Line()Constructor
public function Line(x:Number, y:Number, points:Array, borderWidth:int, color:uint)



Parameters
x:Number
 
y:Number
 
points:Array
 
borderWidth:int
 
color:uint
Method Detail
getData()method
override public function getData(ib:Buffer2D, vb:Buffer2D, start:int):void

Parameters

ib:Buffer2D
 
vb:Buffer2D
 
start:int

rebuild()method 
override public function rebuild(points:Array):void

Parameters

points:Array