Interface DOMPointReadOnly

All Known Subinterfaces:
DOMPoint

public 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.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
    The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
    The DOMPointReadOnly interface's w property holds the point's perspective value, w, for a read-only point in space.
    The DOMPointReadOnly interface's x property holds the horizontal coordinate, x, for a read-only point in space.
    The DOMPointReadOnly interface's y property holds the vertical coordinate, y, for a read-only point in space.
    The DOMPointReadOnly interface's z property holds the depth coordinate, z, for a read-only point in space.
     
     
    The DOMPointReadOnly method toJSON() returns a DOMPointInit object giving the JSON form of the point object.
  • Method Details

    • getW

      Double getW()
      The DOMPointReadOnly interface's w property holds the point's perspective value, w, for a read-only point in space.
      See Also:
    • getX

      Double getX()
      The DOMPointReadOnly interface's x property holds the horizontal coordinate, x, for a read-only point in space. This property cannot be changed by JavaScript code in this read-only version of the DOMPoint object.
      See Also:
    • getY

      Double getY()
      The DOMPointReadOnly interface's y property holds the vertical coordinate, y, for a read-only point in space.
      See Also:
    • getZ

      Double getZ()
      The DOMPointReadOnly interface's z property holds the depth coordinate, z, for a read-only point in space.
      See Also:
    • fromPoint

      DOMPointReadOnly fromPoint(DOMPointInit other)
      The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
      See Also:
    • fromPoint

      DOMPointReadOnly fromPoint()
      The static DOMPointReadOnly method fromPoint() creates and returns a new DOMPointReadOnly object given a source point.
      See Also:
    • matrixTransform

      DOMPoint matrixTransform(DOMMatrixInit matrix)
    • matrixTransform

      DOMPoint matrixTransform()
    • toJSON

      Object toJSON()
      The DOMPointReadOnly method toJSON() returns a DOMPointInit object giving the JSON form of the point object.
      See Also: