DOMPointReadOnly : Object
Represents a 3D point using %%https://en.wikipedia.org/wiki/Homogeneous_coordinates#Use_in_computer_graphics_and_computer_vision|homogeneous coordinates%%
(x, y, z, and w).
See also %%/DOMPoint|DOMPoint%%.
Spec:
https://drafts.fxtf.org/geometry-1/#DOMPoint
----
new DOMPointReadOnly([x = 0 : Number, [y = 0 : Number, [z = 0 : Number, [w = 1 : Number]]]]) : DOMPointReadOnly
----
instance.x : Number
The x coordinate of the point.
ReadOnly:
true
----
instance.y : Number
The y coordinate of the point.
ReadOnly:
true
----
instance.z : Number
The z coordinate of the point.
ReadOnly:
true
----
instance.w : Number
The w coordinate of the point. Typically set to **1**.
See %%https://en.wikipedia.org/wiki/Homogeneous_coordinates#Use_in_computer_graphics_and_computer_vision|homogeneous coordinates%% for more details.
ReadOnly:
true
----
matrixTransform([matrix : DOMMatrix]) : DOMPoint
----
fromPoint([point : { \
x : Number /* Default = **0** */, \
y : Number /* Default = **0** */, \
z : Number /* Default = **0** */, \
w : Number /* Default = **1** */ \
}]) : DOMPointReadOnly
Returns a new DOMPointReadOnly that copies the coordinates from **point**.
----
fromPoint([point : DOMPointReadOnly]) : DOMPointReadOnly
Returns a new DOMPointReadOnly that copies the coordinates from **point**.