DOMQuad: p1 property

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:

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

BCD tables only load in the browser

See also

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