Package org.loboevolution.html.dom
Interface DOMPoint
- All Superinterfaces:
DOMPointReadOnly
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. DOMPoint is based on DOMPointReadOnly but allows its properties' values to be changed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionThe static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.fromPoint
(DOMPointInit other) The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.getW()
The DOMPoint interface's w property holds the point's perspective value, w, for a point in space.getX()
The DOMPoint interface's x property holds the horizontal coordinate, x, for a point in space.getY()
The DOMPoint interface's y property holds the vertical coordinate, y, for a point in space.getZ()
The DOMPoint interface's z property specifies the depth coordinate of a point in space.Methods inherited from interface org.loboevolution.html.dom.DOMPointReadOnly
matrixTransform, matrixTransform, toJSON
-
Method Details
-
getW
Double getW()The DOMPoint interface's w property holds the point's perspective value, w, for a point in space.- Specified by:
getW
in interfaceDOMPointReadOnly
- See Also:
-
getX
Double getX()The DOMPoint interface's x property holds the horizontal coordinate, x, for a point in space.- Specified by:
getX
in interfaceDOMPointReadOnly
- See Also:
-
getY
Double getY()The DOMPoint interface's y property holds the vertical coordinate, y, for a point in space.- Specified by:
getY
in interfaceDOMPointReadOnly
- See Also:
-
getZ
Double getZ()The DOMPoint interface's z property specifies the depth coordinate of a point in space.- Specified by:
getZ
in interfaceDOMPointReadOnly
- See Also:
-
fromPoint
Description copied from interface:DOMPointReadOnly
The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.- Specified by:
fromPoint
in interfaceDOMPointReadOnly
- See Also:
-
fromPoint
DOMPoint fromPoint()Description copied from interface:DOMPointReadOnly
The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.- Specified by:
fromPoint
in interfaceDOMPointReadOnly
- See Also:
-