A DOMPoint object represents a 2D or 3D point in a coordinate it includes values for the coordinates in up to three dimensions, well as an optional perspective value.
A DOMPoint object represents a 2D or 3D point in a coordinate it includes values for the coordinates in up to three dimensions, well as an optional perspective value.
(constructor & args)
Constructor.
The DOMPoint() constructor creates and returns a new web.DOMPoint
object, given the values for some or all of its properties.
x Optional The x coordinate for the new DOMPoint. y Optional The y coordinate for the new DOMPoint. z Optional The z coordinate for the new DOMPoint. w Optional The perspective value of the new DOMPoint.
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint
Constructor. The DOMPoint() constructor creates and returns a new `web.DOMPoint` object, given the values for some or all of its properties. x Optional The x coordinate for the new DOMPoint. y Optional The y coordinate for the new DOMPoint. z Optional The z coordinate for the new DOMPoint. w Optional The perspective value of the new DOMPoint. See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPoint/DOMPoint`
(from-point this & args)
Method.
Creates a new mutable DOMPoint object given an existing point a DOMPointInit dictionary which provides the values for its properties.
Method. Creates a new mutable DOMPoint object given an existing point a DOMPointInit dictionary which provides the values for its properties.
(w this)
Property.
[Read Only]
The DOMPointReadOnly interface's w property holds the point's value, w, for a read-only point in space.
var perspective = DOMPointReadOnly.w;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/w
Property. [Read Only] The DOMPointReadOnly interface's w property holds the point's value, w, for a read-only point in space. `var perspective = DOMPointReadOnly.w;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/w`
(x this)
Property.
[Read Only]
The DOMPointReadOnly interface's x property holds the horizontal x, for a read-only point in space. This property cannot be changed JavaScript code in this read-only version of the DOMPoint object.
var xPos = DOMPointReadOnly.x;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/x
Property. [Read Only] The DOMPointReadOnly interface's x property holds the horizontal x, for a read-only point in space. This property cannot be changed JavaScript code in this read-only version of the DOMPoint object. `var xPos = DOMPointReadOnly.x;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/x`
(y this)
Property.
[Read Only]
The DOMPointReadOnly interface's y property holds the vertical y, for a read-only point in space.
var yPos = DOMPointReadOnly.y;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/y
Property. [Read Only] The DOMPointReadOnly interface's y property holds the vertical y, for a read-only point in space. `var yPos = DOMPointReadOnly.y;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/y`
(z this)
Property.
[Read Only]
The DOMPointReadOnly interface's z property holds the depth coordinate, for a read-only point in space.
var zPos = DOMPointReadOnly.z;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/z
Property. [Read Only] The DOMPointReadOnly interface's z property holds the depth coordinate, for a read-only point in space. `var zPos = DOMPointReadOnly.z;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DOMPointReadOnly/z`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close