Point
package flash.geom
Available on flash
Static methods
staticdistance(pt1:Point, pt2:Point):Float
staticinterpolate(pt1:Point, pt2:Point, f:Float):Point
staticpolar(len:Float, angle:Float):Point
Constructor
new(x:Float = 0, y:Float = 0)
Variables
read onlylength:Float
x:Float
y:Float
Methods
add(v:Point):Point
clone():Point
copyFrom(sourcePoint:Point):Void
equals(toCompare:Point):Bool
normalize(thickness:Float):Void
offset(dx:Float, dy:Float):Void
setTo(xa:Float, ya:Float):Void
subtract(v:Point):Point
toString():String
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/geom/Point.html