Firefox Tomorrow

web api interface

Point

View on MDN ↗

Point is an interface which represents a point in 2-dimensional space. It is non-standard, not broadly compatible, and should not be used.

[!NOTE] Although it is not directly related to this defunct interface, you are probably looking for DOMPoint.

Instance properties

  • x Deprecated
    • : A floating-point value specifying the point’s position with respect to the X (horizontal) axis.
  • y Deprecated
    • : A floating-point value specifying the point’s position with respect to the Y (vertical) axis.

Specifications

This class was specified in the defunct 20 March 2009 Working Draft of CSS 2D Transforms Module Level 3. It is not present in any current specification.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also