DOMPointReadOnly
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:
Static methods
staticfromPoint(?other:Null<DOMPointInit>):DOMPointReadOnly
Constructor
new(x:Float = 0.0, y:Float = 0.0, z:Float = 0.0, w:Float = 1.0)
Throws:
null |
DOMError |
---|
Variables
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
.
Methods
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