package flash.geom; #if !flash8 "This class is only accesible in Flash8" #end extern class Point { var x : T; var y : T; var length : Float; function new( x : T, y : T ) : Void; function normalize( length : T ) : Void; function add( p : Point ) : Point; function subtract( p : Point ) : Point; function equals( p : Point ) : Bool; function offset( dx : T, dy : T ) : Void; function clone() : Point; function toString() : String; static function distance( p1 : Point, p2 : Point ) : T; static function interpolate( p1 : Point, p2 : Point, f : T ) : Point; static function polar( dist : T, angle : T ) : Point; }