Stores a 2D floating point coordinate.
public var x:Number
The default value is 0
.
public var y:Number
The default value is 0
.
public function FlxPoint(X:Number = 0, Y:Number = 0)
Instantiate a new point object.
Parameters | X:Number (default = 0 ) — The X-coordinate of the point in space.
|
|
| Y:Number (default = 0 ) — The Y-coordinate of the point in space.
|
public function copyFrom(Point:FlxPoint):FlxPoint
Parameters
Returns public function copyFromFlash(FlashPoint:Point):FlxPoint
Parameters
Returns public function copyTo(Point:FlxPoint):FlxPoint
Parameters
Returns public function copyToFlash(FlashPoint:Point):Point
Parameters
Returns public function make(X:Number = 0, Y:Number = 0):FlxPoint
Instantiate a new point object.
Parameters
| X:Number (default = 0 ) — The X-coordinate of the point in space.
|
|
| Y:Number (default = 0 ) — The Y-coordinate of the point in space.
|
Returns
Tue Apr 5 2011, 05:30 PM -05:00