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.
(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.
(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.
(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.
(to-json this & args)
Method.
Returns a JSON representation of the DOMQuad object.
Method. Returns a JSON representation of the DOMQuad object.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close