ReadonlywThe DOMPointReadOnly interface's w property holds the point's perspective value, w, for a read-only point in space.
ReadonlyxThe DOMPointReadOnly interface's x property holds the horizontal coordinate, x, for a read-only point in space.
ReadonlyyThe DOMPointReadOnly interface's y property holds the vertical coordinate, y, for a read-only point in space.
ReadonlyzThe DOMPointReadOnly interface's z property holds the depth coordinate, z, for a read-only point in space.
The matrixTransform() method of the DOMPointReadOnly interface applies a matrix transform specified as an object to the DOMPointReadOnly object, creating and returning a new DOMPointReadOnly object.
Optionalmatrix: DOMMatrixInitThe DOMPointReadOnly method toJSON() returns an object giving the js-nolint toJSON() None.
The
DOMPointReadOnlyinterface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.MDN Reference