Haxe API Documentation
Back | Index
extern class js.html.Point
Available in js
The Point class offers methods for performing common geometry operations on two dimensional points.

Documentation for this class was provided by MDN.
var x : Float
var y : Float
function new(?arg0 : Dynamic, ?arg1 : Dynamic) : Void

Creates a new Point object.

let p = new Point(x, y);

The new point, p, has the specified X and Y coordinates.

Back | Index