Liking cljdoc? Tell your friends :D

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-quadcljs

(from-quad 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

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

get-boundscljs

(get-bounds this & args)

Method.

Returns a DOMRect object with the coordinates and dimensions the DOMQuad object.

Method.

Returns a DOMRect object with the coordinates and dimensions
the DOMQuad object.
sourceraw docstring

to-jsoncljs

(to-json this & args)

Method.

Returns a JSON representation of the DOMQuad object.

Method.

Returns a JSON representation of the DOMQuad object.
sourceraw docstring

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

× close