Property | Defined By | ||
---|---|---|---|
closePath : Boolean = false | Path | ||
count : int = 0 | Path | ||
_curGeomatry : IShape | Path | ||
dirty : Boolean = false | Path | ||
geomatrys : Vector.<IShape> | Path | ||
ib : IndexBuffer2D | Path | ||
offset : int = 0 | Path | ||
_rect : Rectangle | Path | ||
tempArray : Array | Path | ||
vb : VertexBuffer2D | Path | ||
_x : Number = 0 | Path | ||
_y : Number = 0 | Path |
Method | Defined By | ||
---|---|---|---|
Path() | Path | ||
addPoint(pointX:Number, pointY:Number):void | Path | ||
Path | |||
getEndPointX():Number | Path | ||
getEndPointY():Number | Path | ||
Path | |||
recover():void | Path | ||
reset():void | Path | ||
setGeomtry(shape:IShape):void | Path | ||
update():void | Path |
_curGeomatry | property |
public var _curGeomatry:IShape
_rect | property |
public var _rect:Rectangle
_x | property |
public var _x:Number = 0
_y | property |
public var _y:Number = 0
closePath | property |
public var closePath:Boolean = false
count | property |
public var count:int = 0
dirty | property |
public var dirty:Boolean = false
geomatrys | property |
public var geomatrys:Vector.<IShape>
ib | property |
public var ib:IndexBuffer2D
offset | property |
public var offset:int = 0
tempArray | property |
public var tempArray:Array
vb | property |
public var vb:VertexBuffer2D
Path | () | Constructor |
public function Path()
addPoint | () | method |
public function addPoint(pointX:Number, pointY:Number):void
Parameters
pointX:Number | |
pointY:Number |
drawLine | () | method |
public function drawLine(x:Number, y:Number, points:Array, width:Number, color:uint):IShape
Parameters
x:Number | |
y:Number | |
points:Array | |
width:Number | |
color:uint |
IShape |
getEndPointX | () | method |
public function getEndPointX():Number
ReturnsNumber |
getEndPointY | () | method |
public function getEndPointY():Number
ReturnsNumber |
polygon | () | method |
public function polygon(x:Number, y:Number, points:Array, color:uint, borderWidth:int, borderColor:*):IShape
Parameters
x:Number | |
y:Number | |
points:Array | |
color:uint | |
borderWidth:int | |
borderColor:* |
IShape |
recover | () | method |
public function recover():void
reset | () | method |
public function reset():void
setGeomtry | () | method |
update | () | method |
public function update():void