W3cubDocs

/Haxe JavaScript

DOMPoint

package js.html

extends DOMPointReadOnly

@:native("DOMPoint") Available on js

A DOMPoint represents a 2D or 3D point in a coordinate system.

Documentation DOMPoint by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

@:value({ w : 1.0, z : 0.0 }) new (x:Float, y:Float, z:Float = 0.0, w:Float = 1.0)

new (?point:DOMPointInit)

Throws:

null DOMError

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMPoint.html