package js.html
extended by DOMPoint
Available on js
The DOMPointReadOnly
interface specifies the coordinate and perspective fields used by DOMPoint
to define a 2D or 3D point in a coordinate system.
Documentation DOMPointReadOnly by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See also:
staticfromPoint(?other:Null<DOMPointInit>):DOMPointReadOnly
new(x:Float = 0.0, y:Float = 0.0, z:Float = 0.0, w:Float = 1.0)
Throws:
null |
DOMError |
---|
read onlyw:Float
The point's perspective value, w
.
read onlyx:Float
The point's horizontal coordinate, x
.
read onlyy:Float
The point's vertical coordinate, y
.
read onlyz:Float
The point's depth coordinate, z
.
toJSON():Dynamic
Returns a JSON representation of the DOMPointReadOnly
object.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMPointReadOnly.html