fromQuad

fun fromQuad(other: DOMQuad = definedExternally): DOMQuad(source)

The fromQuad() static method of the DOMQuad interface returns a new DOMQuad object based on the provided set of coordinates in the shape of another DOMQuad object.

MDN Reference