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>):DOMPointReadOnlynew(x:Float = 0.0, y:Float = 0.0, z:Float = 0.0, w:Float = 1.0)Throws:
null |
DOMError |
|---|
read onlyw:FloatThe point's perspective value, w.
read onlyx:FloatThe point's horizontal coordinate, x.
read onlyy:FloatThe point's vertical coordinate, y.
read onlyz:FloatThe point's depth coordinate, z.
toJSON():DynamicReturns a JSON representation of the DOMPointReadOnly object.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/DOMPointReadOnly.html