DOMPoint
DOMPointReadOnly → js.html.DOMPoint (extern class)
A DOMPoint
object represents a 2D or 3D point in a coordinate system; it includes values for the coordinates in up to three dimensions, as well as an optional perspective value.
Documentation DOMPoint by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
Static Members
fromPoint(?other: Null<DOMPointInit>): DOMPoint
Name | Type | Default |
---|---|---|
other |
Null<DOMPointInit> | (optional) |
Returns |
---|
DOMPoint |
Instance Members
Name | Type | Default |
---|---|---|
x |
Float | 0.0 |
y |
Float | 0.0 |
z |
Float | 0.0 |
w |
Float | 1.0 |