DOMQuad: p1 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 in Web Workers.
The DOMQuad
interface's p1
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).
Value
The DOMPoint
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 is unrestricted, meaning that it is allowed to be infinite or invalid (that is, its value may be NaN
or ±Infinity
).
Specifications
Specification |
---|
Geometry Interfaces Module Level 1 # dom-domquad-p1 |
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
p1 |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- See implementation notes.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.