On this page
Properties
Methods

Interface DOMPoint

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.

MDN Reference

interface DOMPoint {
    w: number;
    x: number;
    y: number;
    z: number;
    matrixTransform(matrix?: DOMMatrixInit): DOMPoint;
    toJSON(): any;
}

Hierarchy (View Summary)

Index

Properties

w x y z

Methods

Properties

w: number

The DOMPoint interface's w property holds the point's perspective value, w, for a point in space.

MDN Reference

x: number

The DOMPoint interface's x property holds the horizontal coordinate, x, for a point in space.

MDN Reference

y: number

The DOMPoint interface's y property holds the vertical coordinate, y, for a point in space.

MDN Reference

z: number

The DOMPoint interface's z property specifies the depth coordinate of a point in space.

MDN Reference

Methods

Was this helpful?
SDK JS
Reference
DOMPoint