@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="DOMPointReadOnly")
public class DOMPointReadOnly
extends JsObject
| Constructor and Description |
|---|
DOMPointReadOnly()
The DOMPointReadOnly() constructor returns a new DOMPointReadOnly object representing a point in 2D or 3D space, optionally with perspective, whose values cannot be altered by script code.
|
DOMPointReadOnly(double x)
The DOMPointReadOnly() constructor returns a new DOMPointReadOnly object representing a point in 2D or 3D space, optionally with perspective, whose values cannot be altered by script code.
|
DOMPointReadOnly(double x,
double y)
The DOMPointReadOnly() constructor returns a new DOMPointReadOnly object representing a point in 2D or 3D space, optionally with perspective, whose values cannot be altered by script code.
|
DOMPointReadOnly(double x,
double y,
double z)
The DOMPointReadOnly() constructor returns a new DOMPointReadOnly object representing a point in 2D or 3D space, optionally with perspective, whose values cannot be altered by script code.
|
DOMPointReadOnly(double x,
double y,
double z,
double w)
The DOMPointReadOnly() constructor returns a new DOMPointReadOnly object representing a point in 2D or 3D space, optionally with perspective, whose values cannot be altered by script code.
|
| Modifier and Type | Method and Description |
|---|---|
static DOMPointReadOnly |
fromPoint()
The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
|
static DOMPointReadOnly |
fromPoint(DOMPointInit other)
The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
|
DOMPoint |
matrixTransform() |
DOMPoint |
matrixTransform(DOMMatrixInit matrix) |
JsObject |
toJSON()
The DOMPointReadOnly method toJSON() returns a DOMPointInit object giving the JSON form of the point object.
|
double |
w()
The DOMPointReadOnly interface's w property holds the point's perspective value, w, for a read-only point in space.
|
double |
x()
The DOMPointReadOnly interface's x property holds the horizontal coordinate, x, for a read-only point in space.
|
double |
y()
The DOMPointReadOnly interface's y property holds the vertical coordinate, y, for a read-only point in space.
|
double |
z()
The DOMPointReadOnly interface's z property holds the depth coordinate, z, for a read-only point in space.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, valuespublic DOMPointReadOnly(double x,
double y,
double z,
double w)
public DOMPointReadOnly(double x,
double y,
double z)
public DOMPointReadOnly(double x,
double y)
public DOMPointReadOnly(double x)
public DOMPointReadOnly()
@JsProperty(name="w") public double w()
@JsProperty(name="x") public double x()
@JsProperty(name="y") public double y()
@JsProperty(name="z") public double z()
@Nonnull public static DOMPointReadOnly fromPoint(@Nonnull DOMPointInit other)
@Nonnull public static DOMPointReadOnly fromPoint()
@Nonnull public DOMPoint matrixTransform(@Nonnull DOMMatrixInit matrix)
@Nonnull public DOMPoint matrixTransform()
@Nonnull public JsObject toJSON()