Firefox Tomorrow

web api instance property

DOMQuad: p4 property

View on MDN ↗

Available in workers

The DOMQuad interface’s p4 property holds the DOMPoint object that represents one of the four corners of the DOMQuad. When created from DOMQuad.fromRect(), it is the point (x, y + height).

Value

The DOMPoint object includes the following double-precision floating-point values:

  • x: The horizontal coordinate.
  • y: The vertical coordinate.
  • z: The depth coordinate.
  • w: The perspective value. The default value is 1.0.

Each of these values is unrestricted, meaning that it is allowed to be infinite or invalid (that is, its value may be NaN or ±Infinity).

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also

  • The other DOMPoint properties: p1, p2, and p3.