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-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.
(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.
(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.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |