DOMQuad: p4 property
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
Note: This feature is available inWeb Workers.
TheDOMQuad interface'sp4 property holds theDOMPoint object that represents one of the four corners of theDOMQuad. When created fromDOMQuad.fromRect(), it is the point (x, y + height).
In this article
Value
TheDOMPoint object includes the following double-precision floating-point values:
DOMPoint.x: The horizontal coordinate.DOMPoint.y: The vertical coordinate.DOMPoint.z: The depth coordinate.DOMPoint.w: The perspective value. The default value is 1.0.
Each of these values isunrestricted, meaning that it is allowed to be infinite or invalid (that is, its value may beNaN or±Infinity).
Specifications
| Specification |
|---|
| Geometry Interfaces Module Level 1> # dom-domquad-p4> |