W3cubDocs

/Haxe Flash

Point

package flash.geom

Available on flash

Constructor

new (x:Float = 0, y:Float = 0)

Variables

read only length: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

Static methods

static distance (pt1:Point, pt2:Point):Float

static interpolate (pt1:Point, pt2:Point, f:Float):Point

static polar (len:Float, angle:Float):Point

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/flash/geom/Point.html