Chartbreaker
    Preparing search index...

    Interface DOMPointReadOnly

    The DOMPointReadOnly interface specifies the coordinate and perspective fields used by DOMPoint to define a 2D or 3D point in a coordinate system.

    MDN Reference

    interface DOMPointReadOnly {
        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 DOMPointReadOnly interface's w property holds the point's perspective value, w, for a read-only point in space.

    MDN Reference

    x: number

    The DOMPointReadOnly interface's x property holds the horizontal coordinate, x, for a read-only point in space.

    MDN Reference

    y: number

    The DOMPointReadOnly interface's y property holds the vertical coordinate, y, for a read-only point in space.

    MDN Reference

    z: number

    The DOMPointReadOnly interface's z property holds the depth coordinate, z, for a read-only point in space.

    MDN Reference

    Methods

    • The matrixTransform() method of the DOMPointReadOnly interface applies a matrix transform specified as an object to the DOMPointReadOnly object, creating and returning a new DOMPointReadOnly object.

      MDN Reference

      Parameters

      Returns DOMPoint

    • The DOMPointReadOnly method toJSON() returns an object giving the js-nolint toJSON() None.

      MDN Reference

      Returns any