DOMQuad

open class DOMQuad(    p1: DOMPointReadOnly = definedExternally,     p2: DOMPointReadOnly = definedExternally,     p3: DOMPointReadOnly = definedExternally,     p4: DOMPointReadOnly = definedExternally) : Serializable(source)

A DOMQuad is a collection of four DOMPoints defining the corners of an arbitrary quadrilateral.

MDN Reference

Constructors

Link copied to clipboard
constructor(    p1: DOMPointReadOnly = definedExternally,     p2: DOMPointReadOnly = definedExternally,     p3: DOMPointReadOnly = definedExternally,     p4: DOMPointReadOnly = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The DOMQuad interface's p1 property holds the DOMPoint object that represents one of the four corners of the DOMQuad.

Link copied to clipboard

The DOMQuad interface's p2 property holds the DOMPoint object that represents one of the four corners of the DOMQuad.

Link copied to clipboard

The DOMQuad interface's p3 property holds the DOMPoint object that represents one of the four corners of the DOMQuad.

Link copied to clipboard

The DOMQuad interface's p4 property holds the DOMPoint object that represents one of the four corners of the DOMQuad.

Functions

Link copied to clipboard

The DOMQuad method getBounds() returns a DOMRect object representing the smallest rectangle that fully contains the DOMQuad object.

Link copied to clipboard
fun toJSON(): JsAny

The DOMQuad method toJSON() returns a ``js-nolint toJSON() `` None.