Liking cljdoc? Tell your friends :D

web.svg.SVGGraphicsElement

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

get-b-boxcljs

(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`
sourceraw docstring

get-ctmcljs

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

get-screen-ctmcljs

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

set-transform!cljs

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

transformcljs

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

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

× close