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.
sourceraw docstring

p1cljs

(p1 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.
sourceraw docstring

set-p1!cljs

(set-p1! 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.
sourceraw docstring

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

× close