Liking cljdoc? Tell your friends :D
ClojureScript only.

web.dom.DOMQuad

A DOMQuad is a collection of four DOMPoints defining the corners an arbitrary quadrilateral. Returning DOMQuads lets getBoxQuads() accurate information even when arbitrary 2D or 3D transforms present. It has a handy bounds attribute returning a DOMRectReadOnly those cases where you just want an axis-aligned bounding rectangle.

A DOMQuad is a collection of four DOMPoints defining the corners
an arbitrary quadrilateral. Returning DOMQuads lets getBoxQuads()
accurate information even when arbitrary 2D or 3D transforms
present. It has a handy bounds attribute returning a DOMRectReadOnly
those cases where you just want an axis-aligned bounding rectangle.
raw docstring

from-rectcljs

(from-rect this & args)

Method.

Returns a new DOMQuad object based on the passed set of coordinates.

Method.

Returns a new DOMQuad object based on the passed set of coordinates.
raw docstring

p-1cljs

(p-1 this)

Property.

are DOMPoint objects for each of the DOMQuad object's four corners.

Property.

are DOMPoint objects for each of the DOMQuad object's four corners.
raw docstring

set-p-1!cljs

(set-p-1! this val)

Property.

are DOMPoint objects for each of the DOMQuad object's four corners.

Property.

are DOMPoint objects for each of the DOMQuad object's four corners.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close