Definition
Geometry Interfaces Module Level 1 defines DOMPointReadOnly
[Exposed=(Window,Worker),
Serializable]
interface DOMPointReadOnly {
constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
optional unrestricted double z = 0, optional unrestricted double w = 1);
[NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {});
readonly attribute unrestricted double x;
readonly attribute unrestricted double y;
readonly attribute unrestricted double z;
readonly attribute unrestricted double w;
[NewObject] DOMPoint matrixTransform(optional DOMMatrixInit matrix = {});
[Default] object toJSON();
};
Methods and attributes that return objects implementing DOMPointReadOnly
DOMPointReadOnly()XRPlane.polygonDOMPointReadOnly.fromPoint()SVGSVGElement.currentTranslateXRRay.originXRRay.directionXRLightEstimate.primaryLightDirectionXRLightEstimate.primaryLightIntensityXRBoundedReferenceSpace.boundsGeometryXRRigidTransform.positionXRRigidTransform.orientationXRPose.linearVelocityXRPose.angularVelocityXRCubeLayer.orientation
Referring IDL interfaces/dictionaries
Referring specifications
- WebXR Plane Detection Module refers to
DOMPointReadOnly - Gamepad refers to
DOMPointReadOnly - Scalable Vector Graphics (SVG) 2 refers to
DOMPointReadOnly - WebXR Hit Test Module refers to
DOMPointReadOnly - WebXR Lighting Estimation API Level 1 refers to
DOMPointReadOnly - WebXR Device API refers to
DOMPointReadOnly - WebXR Layers API Level 1 refers to
DOMPointReadOnly