W3cubDocs

/Haxe JavaScript

DOMPoint

package js.html

extends DOMPointReadOnly

Available on js

A DOMPoint object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.

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

See also:

Static methods

staticfromPoint(?other:Null<DOMPointInit>):DOMPoint

Constructor

new(x:Float = 0.0, y:Float = 0.0, z:Float = 0.0, w:Float = 1.0)

Throws:

null

DOMError

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