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:

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

See also

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