forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
21
Kha/Tools/linux_x64/std/flash/geom/Point.hx
Normal file
21
Kha/Tools/linux_x64/std/flash/geom/Point.hx
Normal file
@ -0,0 +1,21 @@
|
||||
package flash.geom;
|
||||
|
||||
extern class Point {
|
||||
@:flash.property var length(get,never) : Float;
|
||||
var x : Float;
|
||||
var y : Float;
|
||||
function new(x : Float = 0, y : Float = 0) : Void;
|
||||
function add(v : Point) : Point;
|
||||
function clone() : Point;
|
||||
@:require(flash11) function copyFrom(sourcePoint : Point) : Void;
|
||||
function equals(toCompare : Point) : Bool;
|
||||
private function get_length() : Float;
|
||||
function normalize(thickness : Float) : Void;
|
||||
function offset(dx : Float, dy : Float) : Void;
|
||||
@:require(flash11) function setTo(xa : Float, ya : Float) : Void;
|
||||
function subtract(v : Point) : Point;
|
||||
function toString() : String;
|
||||
static function distance(pt1 : Point, pt2 : Point) : Float;
|
||||
static function interpolate(pt1 : Point, pt2 : Point, f : Float) : Point;
|
||||
static function polar(len : Float, angle : Float) : Point;
|
||||
}
|
Reference in New Issue
Block a user