The SVGGraphicsElement interface represents SVG elements whose purpose is to directly render graphics into a group.
The SVGGraphicsElement interface represents SVG elements whose purpose is to directly render graphics into a group.
(get-b-box this)
Method.
The SVGGraphicsElement.getBBox() allows us to determine the coordinates the smallest rectangle in which the object fits. The coordinates are with respect to the current svg space, i.e. after the application all geometry attributes on all the elements contained in the element.
let bboxRect = object.getBBox();
See also: https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox
Method. The SVGGraphicsElement.getBBox() allows us to determine the coordinates the smallest rectangle in which the object fits. The coordinates are with respect to the current svg space, i.e. after the application all geometry attributes on all the elements contained in the element. `let bboxRect = object.getBBox();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SVGGraphicsElement/getBBox`
(get-ctm this & args)
Method.
Returns a DOMMatrix representing the matrix that transforms the element's coordinate system to its SVG viewport's coordinate
Method. Returns a DOMMatrix representing the matrix that transforms the element's coordinate system to its SVG viewport's coordinate
(get-screen-ctm this & args)
Method.
Returns a DOMMatrix representing the matrix that transforms the element's coordinate system to the coordinate system of the SVG for the SVG document fragment.
Method. Returns a DOMMatrix representing the matrix that transforms the element's coordinate system to the coordinate system of the SVG for the SVG document fragment.
(set-transform! this val)
Property.
An SVGAnimatedTransformList reflecting the computed value of transform property and its corresponding transform attribute the given element.
Property. An SVGAnimatedTransformList reflecting the computed value of transform property and its corresponding transform attribute the given element.
(transform this)
Property.
An SVGAnimatedTransformList reflecting the computed value of transform property and its corresponding transform attribute the given element.
Property. An SVGAnimatedTransformList reflecting the computed value of transform property and its corresponding transform attribute the given element.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close