DOMQuad: p2 property
Note: This feature is available in Web Workers.
The DOMQuad
interface's p2
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 + width, 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-p2 |
Browser compatibility
BCD tables only load in the browser