Liking cljdoc? Tell your friends :D

web.svg.SVGSVGElement

The SVGSVGElement interface provides access to the properties <svg> elements, as well as methods to manipulate them. This contains also various miscellaneous commonly-used utility methods, as matrix operations and the ability to control the time of redraw visual rendering devices.

The SVGSVGElement interface provides access to the properties
`<svg>` elements, as well as methods to manipulate them. This
contains also various miscellaneous commonly-used utility methods,
as matrix operations and the ability to control the time of redraw
visual rendering devices.
raw docstring

animations-pausedcljs

(animations-paused this & args)

Method.

Returns true if this SVG document fragment is in a paused state.

Method.

Returns true if this SVG document fragment is in a paused state.
sourceraw docstring

check-enclosurecljs

(check-enclosure this & args)

Method.

Returns true if the rendered content of the given element is contained within the supplied rectangle. Each candidate graphics is to be considered a match only if the same graphics element be a target of pointer events as defined in pointer-events processing.

Method.

Returns true if the rendered content of the given element is
contained within the supplied rectangle. Each candidate graphics
is to be considered a match only if the same graphics element
be a target of pointer events as defined in pointer-events processing.
sourceraw docstring

check-intersectioncljs

(check-intersection this & args)

Method.

Returns true if the rendered content of the given element intersects supplied rectangle. Each candidate graphics element is to be a match only if the same graphics element can be a target of events as defined in pointer-events processing.

Method.

Returns true if the rendered content of the given element intersects
supplied rectangle. Each candidate graphics element is to be
a match only if the same graphics element can be a target of
events as defined in pointer-events processing.
sourceraw docstring

content-script-typecljs

(content-script-type this)

Property.

An SVGAnimatedLength corresponding to the contentScriptType attribute the given <svg> element.

Property.

An SVGAnimatedLength corresponding to the contentScriptType attribute
the given <svg> element.
sourceraw docstring

content-style-typecljs

(content-style-type this)

Property.

An SVGAnimatedLength corresponding to the contentStyleType attribute the given <svg> element.

Property.

An SVGAnimatedLength corresponding to the contentStyleType attribute
the given <svg> element.
sourceraw docstring

create-svg-anglecljs

(create-svg-angle this & args)

Method.

Creates an SVGAngle object outside of any document trees. The is initialized to a value of zero degrees (unitless).

Method.

Creates an SVGAngle object outside of any document trees. The
is initialized to a value of zero degrees (unitless).
sourceraw docstring

create-svg-lengthcljs

(create-svg-length this & args)

Method.

Creates an SVGLength object outside of any document trees. The is initialized to a value of zero user units.

Method.

Creates an SVGLength object outside of any document trees. The
is initialized to a value of zero user units.
sourceraw docstring

create-svg-matrixcljs

(create-svg-matrix this & args)

Method.

Creates an SVGMatrix object outside of any document trees. The is initialized to the identity matrix.

Method.

Creates an SVGMatrix object outside of any document trees. The
is initialized to the identity matrix.
sourceraw docstring

create-svg-numbercljs

(create-svg-number this & args)

Method.

Creates an SVGNumber object outside of any document trees. The is initialized to a value of zero.

Method.

Creates an SVGNumber object outside of any document trees. The
is initialized to a value of zero.
sourceraw docstring

create-svg-pointcljs

(create-svg-point this & args)

Method.

Creates an SVGPoint object outside of any document trees. The is initialized to the point (0,0) in the user coordinate system.

Method.

Creates an SVGPoint object outside of any document trees. The
is initialized to the point (0,0) in the user coordinate system.
sourceraw docstring

create-svg-rectcljs

(create-svg-rect this & args)

Method.

Creates an SVGRect object outside of any document trees. The is initialized such that all values are set to 0 user units.

Method.

Creates an SVGRect object outside of any document trees. The
is initialized such that all values are set to 0 user units.
sourceraw docstring

create-svg-transformcljs

(create-svg-transform this & args)

Method.

Creates an SVGTransform object outside of any document trees. object is initialized to an identity matrix transform (SVG_TRANSFORM_MATRIX).

Method.

Creates an SVGTransform object outside of any document trees.
object is initialized to an identity matrix transform (SVG_TRANSFORM_MATRIX).
sourceraw docstring

create-svg-transform-from-matrixcljs

(create-svg-transform-from-matrix this & args)

Method.

Creates an SVGTransform object outside of any document trees. object is initialized to the given matrix transform (i.e., SVG_TRANSFORM_MATRIX). values from the parameter matrix are copied, the matrix parameter not adopted as SVGTransform::matrix.

Method.

Creates an SVGTransform object outside of any document trees.
object is initialized to the given matrix transform (i.e., SVG_TRANSFORM_MATRIX).
values from the parameter matrix are copied, the matrix parameter
not adopted as SVGTransform::matrix.
sourceraw docstring

current-scalecljs

(current-scale this)

Property.

On an outermost <svg> element, this float attribute indicates current scale factor relative to the initial view to take into user magnification and panning operations. DOM attributes currentScale currentTranslate are equivalent to the 2x3 matrix [a b c d e = [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y]. "magnification" is enabled (i.e., zoomAndPan="magnify"), then effect is as if an extra transformation were placed at the outermost on the SVG document fragment (i.e., outside the outermost <svg>

Property.

On an outermost <svg> element, this float attribute indicates
current scale factor relative to the initial view to take into
user magnification and panning operations. DOM attributes currentScale
currentTranslate are equivalent to the 2x3 matrix [a b c d e
= [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y].
"magnification" is enabled (i.e., zoomAndPan="magnify"), then
effect is as if an extra transformation were placed at the outermost
on the SVG document fragment (i.e., outside the outermost <svg>
sourceraw docstring

current-translatecljs

(current-translate this)

Property.

An SVGPoint representing the translation factor that takes into user "magnification" corresponding to an outermost <svg> element. behavior is undefined for <svg> elements that are not at the level.

Property.

An SVGPoint representing the translation factor that takes into
user "magnification" corresponding to an outermost <svg> element.
behavior is undefined for <svg> elements that are not at the
level.
sourceraw docstring

current-viewcljs

(current-view this)

Property.

An SVGViewSpec defining the initial view (i.e., before magnification panning) of the current innermost SVG document fragment. The depends on the situation: If the initial view was a "standard" then: the values for viewBox, preserveAspectRatio and zoomAndPan within will match the values for the corresponding DOM attributes that on SVGSVGElement directly the values for transform and viewTarget within currentView will null If the initial view was a link into a <view> element, then: the values for viewBox, preserveAspectRatio and zoomAndPan within will correspond to the corresponding attributes for the given element the values for transform and viewTarget within currentView will null If the initial view was a link into another element (i.e., other a <view>), then: the values for viewBox, preserveAspectRatio and zoomAndPan within will match the values for the corresponding DOM attributes that on SVGSVGElement directly for the closest ancestor <svg> element the values for transform within currentView will be null the viewTarget within currentView will represent the target the link If the initial view was a link into the SVG document fragment an SVG view specification fragment identifier (i.e., #svgView(...)), the values for viewBox, preserveAspectRatio, zoomAndPan, transform viewTarget within currentView will correspond to the values from SVG view specification fragment identifier

Property.

An SVGViewSpec defining the initial view (i.e., before magnification
panning) of the current innermost SVG document fragment. The
depends on the situation: If the initial view was a "standard"
then:
the values for viewBox, preserveAspectRatio and zoomAndPan within
will match the values for the corresponding DOM attributes that
on SVGSVGElement directly
the values for transform and viewTarget within currentView will
null
If the initial view was a link into a <view> element, then:
the values for viewBox, preserveAspectRatio and zoomAndPan within
will correspond to the corresponding attributes for the given
element
the values for transform and viewTarget within currentView will
null
If the initial view was a link into another element (i.e., other
a <view>), then:
the values for viewBox, preserveAspectRatio and zoomAndPan within
will match the values for the corresponding DOM attributes that
on SVGSVGElement directly for the closest ancestor <svg> element
the values for transform within currentView will be null
the viewTarget within currentView will represent the target
the link
If the initial view was a link into the SVG document fragment
an SVG view specification fragment identifier (i.e., #svgView(...)),
the values for viewBox, preserveAspectRatio, zoomAndPan, transform
viewTarget within currentView will correspond to the values from
SVG view specification fragment identifier
sourceraw docstring

deselect-allcljs

(deselect-all this & args)

Method.

Unselects any selected objects, including any selections of text and type-in bars.

Method.

Unselects any selected objects, including any selections of text
and type-in bars.
sourceraw docstring

force-redrawcljs

(force-redraw this & args)

Method.

In rendering environments supporting interactivity, forces the agent to immediately redraw all regions of the viewport that updating.

Method.

In rendering environments supporting interactivity, forces the
agent to immediately redraw all regions of the viewport that
updating.
sourceraw docstring

get-current-timecljs

(get-current-time this & args)

Method.

Returns the current time in seconds relative to the start time the current SVG document fragment. If getCurrentTime is called the document timeline has begun (for example, by script running a <script> element before the document's SVGLoad event is dispatched), 0 is returned.

Method.

Returns the current time in seconds relative to the start time
the current SVG document fragment. If getCurrentTime is called
the document timeline has begun (for example, by script running
a <script> element before the document's SVGLoad event is dispatched),
0 is returned.
sourceraw docstring

get-element-by-idcljs

(get-element-by-id this & args)

Method.

Searches this SVG document fragment (i.e., the search is restricted a subset of the document tree) for an Element whose id is given elementId. If an Element is found, that Element is returned. no such element exists, returns null. Behavior is not defined more than one element has this id.

Method.

Searches this SVG document fragment (i.e., the search is restricted
a subset of the document tree) for an Element whose id is given
elementId. If an Element is found, that Element is returned.
no such element exists, returns null. Behavior is not defined
more than one element has this id.
sourceraw docstring

get-enclosure-listcljs

(get-enclosure-list this & args)

Method.

Returns a NodeList of graphics elements whose rendered content entirely contained within the supplied rectangle. Each candidate element is to be considered a match only if the same graphics can be a target of pointer events as defined in pointer-events

Method.

Returns a NodeList of graphics elements whose rendered content
entirely contained within the supplied rectangle. Each candidate
element is to be considered a match only if the same graphics
can be a target of pointer events as defined in pointer-events
sourceraw docstring

get-intersection-listcljs

(get-intersection-list this & args)

Method.

Returns a NodeList of graphics elements whose rendered content the supplied rectangle. Each candidate graphics element is to considered a match only if the same graphics element can be a of pointer events as defined in pointer-events processing.

Method.

Returns a NodeList of graphics elements whose rendered content
the supplied rectangle. Each candidate graphics element is to
considered a match only if the same graphics element can be a
of pointer events as defined in pointer-events processing.
sourceraw docstring

heightcljs

(height this)

Property.

An SVGAnimatedLength corresponding to the height attribute of given <svg> element.

Property.

An SVGAnimatedLength corresponding to the height attribute of
given <svg> element.
sourceraw docstring

pause-animationscljs

(pause-animations this & args)

Method.

Suspends (i.e., pauses) all currently running animations that defined within the SVG document fragment corresponding to this element, causing the animation clock corresponding to this document to stand still until it is unpaused.

Method.

Suspends (i.e., pauses) all currently running animations that
defined within the SVG document fragment corresponding to this
element, causing the animation clock corresponding to this document
to stand still until it is unpaused.
sourceraw docstring

pixel-unit-to-millimeter-xcljs

(pixel-unit-to-millimeter-x this)

Property.

A float representing the size of the pixel unit (as defined by along the x-axis of the viewport, which represents a unit somewhere the range of 70dpi to 120dpi, and, on systems that support this, actually match the characteristics of the target medium. On systems it is impossible to know the size of a pixel, a suitable default size is provided.

Property.

A float representing the size of the pixel unit (as defined by
along the x-axis of the viewport, which represents a unit somewhere
the range of 70dpi to 120dpi, and, on systems that support this,
actually match the characteristics of the target medium. On systems
it is impossible to know the size of a pixel, a suitable default
size is provided.
sourceraw docstring

pixel-unit-to-millimeter-ycljs

(pixel-unit-to-millimeter-y this)

Property.

A float representing the size of a pixel unit along the y-axis the viewport.

Property.

A float representing the size of a pixel unit along the y-axis
the viewport.
sourceraw docstring

screen-pixel-to-millimeter-xcljs

(screen-pixel-to-millimeter-x this)

Property.

User interface (UI) events in DOM Level 2 indicate the screen at which the given UI event occurred. When the browser actually the physical size of a "screen unit", this float attribute will that information; otherwise, user agents will provide a suitable value such as .28mm.

Property.

User interface (UI) events in DOM Level 2 indicate the screen
at which the given UI event occurred. When the browser actually
the physical size of a "screen unit", this float attribute will
that information; otherwise, user agents will provide a suitable
value such as .28mm.
sourceraw docstring

screen-pixel-to-millimeter-ycljs

(screen-pixel-to-millimeter-y this)

Property.

Corresponding size of a screen pixel along the y-axis of the

Property.

Corresponding size of a screen pixel along the y-axis of the
sourceraw docstring

set-content-script-type!cljs

(set-content-script-type! this val)

Property.

An SVGAnimatedLength corresponding to the contentScriptType attribute the given <svg> element.

Property.

An SVGAnimatedLength corresponding to the contentScriptType attribute
the given <svg> element.
sourceraw docstring

set-content-style-type!cljs

(set-content-style-type! this val)

Property.

An SVGAnimatedLength corresponding to the contentStyleType attribute the given <svg> element.

Property.

An SVGAnimatedLength corresponding to the contentStyleType attribute
the given <svg> element.
sourceraw docstring

set-current-scale!cljs

(set-current-scale! this val)

Property.

On an outermost <svg> element, this float attribute indicates current scale factor relative to the initial view to take into user magnification and panning operations. DOM attributes currentScale currentTranslate are equivalent to the 2x3 matrix [a b c d e = [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y]. "magnification" is enabled (i.e., zoomAndPan="magnify"), then effect is as if an extra transformation were placed at the outermost on the SVG document fragment (i.e., outside the outermost <svg>

Property.

On an outermost <svg> element, this float attribute indicates
current scale factor relative to the initial view to take into
user magnification and panning operations. DOM attributes currentScale
currentTranslate are equivalent to the 2x3 matrix [a b c d e
= [currentScale 0 0 currentScale currentTranslate.x currentTranslate.y].
"magnification" is enabled (i.e., zoomAndPan="magnify"), then
effect is as if an extra transformation were placed at the outermost
on the SVG document fragment (i.e., outside the outermost <svg>
sourceraw docstring

set-current-timecljs

(set-current-time this & args)

Method.

Adjusts the clock for this SVG document fragment, establishing new current time. If setCurrentTime is called before the document has begun (for example, by script running in a <script> element the document's SVGLoad event is dispatched), then the value of in the last invocation of the method gives the time that the will seek to once the document timeline has begun.

Method.

Adjusts the clock for this SVG document fragment, establishing
new current time. If setCurrentTime is called before the document
has begun (for example, by script running in a <script> element
the document's SVGLoad event is dispatched), then the value of
in the last invocation of the method gives the time that the
will seek to once the document timeline has begun.
sourceraw docstring

set-current-translate!cljs

(set-current-translate! this val)

Property.

An SVGPoint representing the translation factor that takes into user "magnification" corresponding to an outermost <svg> element. behavior is undefined for <svg> elements that are not at the level.

Property.

An SVGPoint representing the translation factor that takes into
user "magnification" corresponding to an outermost <svg> element.
behavior is undefined for <svg> elements that are not at the
level.
sourceraw docstring

set-current-view!cljs

(set-current-view! this val)

Property.

An SVGViewSpec defining the initial view (i.e., before magnification panning) of the current innermost SVG document fragment. The depends on the situation: If the initial view was a "standard" then: the values for viewBox, preserveAspectRatio and zoomAndPan within will match the values for the corresponding DOM attributes that on SVGSVGElement directly the values for transform and viewTarget within currentView will null If the initial view was a link into a <view> element, then: the values for viewBox, preserveAspectRatio and zoomAndPan within will correspond to the corresponding attributes for the given element the values for transform and viewTarget within currentView will null If the initial view was a link into another element (i.e., other a <view>), then: the values for viewBox, preserveAspectRatio and zoomAndPan within will match the values for the corresponding DOM attributes that on SVGSVGElement directly for the closest ancestor <svg> element the values for transform within currentView will be null the viewTarget within currentView will represent the target the link If the initial view was a link into the SVG document fragment an SVG view specification fragment identifier (i.e., #svgView(...)), the values for viewBox, preserveAspectRatio, zoomAndPan, transform viewTarget within currentView will correspond to the values from SVG view specification fragment identifier

Property.

An SVGViewSpec defining the initial view (i.e., before magnification
panning) of the current innermost SVG document fragment. The
depends on the situation: If the initial view was a "standard"
then:
the values for viewBox, preserveAspectRatio and zoomAndPan within
will match the values for the corresponding DOM attributes that
on SVGSVGElement directly
the values for transform and viewTarget within currentView will
null
If the initial view was a link into a <view> element, then:
the values for viewBox, preserveAspectRatio and zoomAndPan within
will correspond to the corresponding attributes for the given
element
the values for transform and viewTarget within currentView will
null
If the initial view was a link into another element (i.e., other
a <view>), then:
the values for viewBox, preserveAspectRatio and zoomAndPan within
will match the values for the corresponding DOM attributes that
on SVGSVGElement directly for the closest ancestor <svg> element
the values for transform within currentView will be null
the viewTarget within currentView will represent the target
the link
If the initial view was a link into the SVG document fragment
an SVG view specification fragment identifier (i.e., #svgView(...)),
the values for viewBox, preserveAspectRatio, zoomAndPan, transform
viewTarget within currentView will correspond to the values from
SVG view specification fragment identifier
sourceraw docstring

set-height!cljs

(set-height! this val)

Property.

An SVGAnimatedLength corresponding to the height attribute of given <svg> element.

Property.

An SVGAnimatedLength corresponding to the height attribute of
given <svg> element.
sourceraw docstring

set-pixel-unit-to-millimeter-x!cljs

(set-pixel-unit-to-millimeter-x! this val)

Property.

A float representing the size of the pixel unit (as defined by along the x-axis of the viewport, which represents a unit somewhere the range of 70dpi to 120dpi, and, on systems that support this, actually match the characteristics of the target medium. On systems it is impossible to know the size of a pixel, a suitable default size is provided.

Property.

A float representing the size of the pixel unit (as defined by
along the x-axis of the viewport, which represents a unit somewhere
the range of 70dpi to 120dpi, and, on systems that support this,
actually match the characteristics of the target medium. On systems
it is impossible to know the size of a pixel, a suitable default
size is provided.
sourceraw docstring

set-pixel-unit-to-millimeter-y!cljs

(set-pixel-unit-to-millimeter-y! this val)

Property.

A float representing the size of a pixel unit along the y-axis the viewport.

Property.

A float representing the size of a pixel unit along the y-axis
the viewport.
sourceraw docstring

set-screen-pixel-to-millimeter-x!cljs

(set-screen-pixel-to-millimeter-x! this val)

Property.

User interface (UI) events in DOM Level 2 indicate the screen at which the given UI event occurred. When the browser actually the physical size of a "screen unit", this float attribute will that information; otherwise, user agents will provide a suitable value such as .28mm.

Property.

User interface (UI) events in DOM Level 2 indicate the screen
at which the given UI event occurred. When the browser actually
the physical size of a "screen unit", this float attribute will
that information; otherwise, user agents will provide a suitable
value such as .28mm.
sourceraw docstring

set-screen-pixel-to-millimeter-y!cljs

(set-screen-pixel-to-millimeter-y! this val)

Property.

Corresponding size of a screen pixel along the y-axis of the

Property.

Corresponding size of a screen pixel along the y-axis of the
sourceraw docstring

set-use-current-view!cljs

(set-use-current-view! this val)

Property.

The initial view (i.e., before magnification and panning) of current innermost SVG document fragment can be either the "standard" i.e., based on attributes on the <svg> element such as viewBox) on a "custom" view (i.e., a hyperlink into a particular <view> other element). If the initial view is the "standard" view, then attribute is false. If the initial view is a "custom" view, then attribute is true.

Property.

The initial view (i.e., before magnification and panning) of
current innermost SVG document fragment can be either the "standard"
i.e., based on attributes on the <svg> element such as viewBox)
on a "custom" view (i.e., a hyperlink into a particular <view>
other element). If the initial view is the "standard" view, then
attribute is false. If the initial view is a "custom" view, then
attribute is true.
sourceraw docstring

set-viewport!cljs

(set-viewport! this val)

Property.

An SVGRect containing the position and size of the viewport (implicit explicit) that corresponds to the given <svg> element. When the is actually rendering the content, then the position and size represent the actual values when rendering. The position and values are unitless values in the coordinate system of the parent If no parent element exists (i.e., <svg> element represents the of the document tree), if this SVG document is embedded as part another document (e.g., via the HTML <object> element), then position and size are unitless values in the coordinate system the parent document. (If the parent uses CSS or XSL layout, then values represent pixel units for the current CSS or XSL viewport.)

Property.

An SVGRect containing the position and size of the viewport (implicit
explicit) that corresponds to the given <svg> element. When the
is actually rendering the content, then the position and size
represent the actual values when rendering. The position and
values are unitless values in the coordinate system of the parent
If no parent element exists (i.e., <svg> element represents the
of the document tree), if this SVG document is embedded as part
another document (e.g., via the HTML <object> element), then
position and size are unitless values in the coordinate system
the parent document. (If the parent uses CSS or XSL layout, then
values represent pixel units for the current CSS or XSL viewport.)
sourceraw docstring

set-width!cljs

(set-width! this val)

Property.

An SVGAnimatedLength corresponding to the width attribute of given <svg> element.

Property.

An SVGAnimatedLength corresponding to the width attribute of
given <svg> element.
sourceraw docstring

set-x!cljs

(set-x! this val)

Property.

An SVGAnimatedLength corresponding to the x attribute of the <svg> element.

Property.

An SVGAnimatedLength corresponding to the x attribute of the
<svg> element.
sourceraw docstring

set-y!cljs

(set-y! this val)

Property.

An SVGAnimatedLength corresponding to the y attribute of the <svg> element.

Property.

An SVGAnimatedLength corresponding to the y attribute of the
<svg> element.
sourceraw docstring

suspend-redrawcljs

(suspend-redraw this & args)

Method.

Takes a time-out value which indicates that redraw shall not until: the corresponding unsuspendRedraw() call has been made, an unsuspendRedrawAll() has been made, or its timer has timed out. In environments that do not support interactivity (e.g., print then redraw shall not be suspended. Calls to suspendRedraw() unsuspendRedraw() should, but need not be, made in balanced pairs. To suspend redraw actions as a collection of SVG DOM changes precede the changes to the SVG DOM with a method call similar suspendHandleID = suspendRedraw(maxWaitMilliseconds); and follow the changes with a method call similar to: unsuspendRedraw(suspendHandleID); Note that multiple suspendRedraw calls can be used at once and each such method call is treated independently of the other suspendRedraw calls.

Method.

Takes a time-out value which indicates that redraw shall not
until:
the corresponding unsuspendRedraw() call has been made, an unsuspendRedrawAll()
has been made, or its timer has timed out.
In environments that do not support interactivity (e.g., print
then redraw shall not be suspended. Calls to suspendRedraw()
unsuspendRedraw() should, but need not be, made in balanced pairs.
To suspend redraw actions as a collection of SVG DOM changes
precede the changes to the SVG DOM with a method call similar
suspendHandleID = suspendRedraw(maxWaitMilliseconds);
and follow the changes with a method call similar to:
unsuspendRedraw(suspendHandleID);
Note that multiple suspendRedraw calls can be used at once and
each such method call is treated independently of the other suspendRedraw
calls.
sourceraw docstring

unpause-animationscljs

(unpause-animations this & args)

Method.

Unsuspends (i.e., unpauses) currently running animations that defined within the SVG document fragment, causing the animation to continue from the time at which it was suspended.

Method.

Unsuspends (i.e., unpauses) currently running animations that
defined within the SVG document fragment, causing the animation
to continue from the time at which it was suspended.
sourceraw docstring

unsuspend-redrawcljs

(unsuspend-redraw this & args)

Method.

Cancels a specified suspendRedraw() by providing a unique suspend ID that was returned by a previous suspendRedraw() call.

Method.

Cancels a specified suspendRedraw() by providing a unique suspend
ID that was returned by a previous suspendRedraw() call.
sourceraw docstring

unsuspend-redraw-allcljs

(unsuspend-redraw-all this & args)

Method.

Cancels all currently active suspendRedraw() method calls. This is most useful at the very end of a set of SVG DOM calls to ensure all pending suspendRedraw() method calls have been cancelled.

Method.

Cancels all currently active suspendRedraw() method calls. This
is most useful at the very end of a set of SVG DOM calls to ensure
all pending suspendRedraw() method calls have been cancelled.
sourceraw docstring

use-current-viewcljs

(use-current-view this)

Property.

The initial view (i.e., before magnification and panning) of current innermost SVG document fragment can be either the "standard" i.e., based on attributes on the <svg> element such as viewBox) on a "custom" view (i.e., a hyperlink into a particular <view> other element). If the initial view is the "standard" view, then attribute is false. If the initial view is a "custom" view, then attribute is true.

Property.

The initial view (i.e., before magnification and panning) of
current innermost SVG document fragment can be either the "standard"
i.e., based on attributes on the <svg> element such as viewBox)
on a "custom" view (i.e., a hyperlink into a particular <view>
other element). If the initial view is the "standard" view, then
attribute is false. If the initial view is a "custom" view, then
attribute is true.
sourceraw docstring

viewportcljs

(viewport this)

Property.

An SVGRect containing the position and size of the viewport (implicit explicit) that corresponds to the given <svg> element. When the is actually rendering the content, then the position and size represent the actual values when rendering. The position and values are unitless values in the coordinate system of the parent If no parent element exists (i.e., <svg> element represents the of the document tree), if this SVG document is embedded as part another document (e.g., via the HTML <object> element), then position and size are unitless values in the coordinate system the parent document. (If the parent uses CSS or XSL layout, then values represent pixel units for the current CSS or XSL viewport.)

Property.

An SVGRect containing the position and size of the viewport (implicit
explicit) that corresponds to the given <svg> element. When the
is actually rendering the content, then the position and size
represent the actual values when rendering. The position and
values are unitless values in the coordinate system of the parent
If no parent element exists (i.e., <svg> element represents the
of the document tree), if this SVG document is embedded as part
another document (e.g., via the HTML <object> element), then
position and size are unitless values in the coordinate system
the parent document. (If the parent uses CSS or XSL layout, then
values represent pixel units for the current CSS or XSL viewport.)
sourceraw docstring

widthcljs

(width this)

Property.

An SVGAnimatedLength corresponding to the width attribute of given <svg> element.

Property.

An SVGAnimatedLength corresponding to the width attribute of
given <svg> element.
sourceraw docstring

xcljs

(x this)

Property.

An SVGAnimatedLength corresponding to the x attribute of the <svg> element.

Property.

An SVGAnimatedLength corresponding to the x attribute of the
<svg> element.
sourceraw docstring

ycljs

(y this)

Property.

An SVGAnimatedLength corresponding to the y attribute of the <svg> element.

Property.

An SVGAnimatedLength corresponding to the y attribute of the
<svg> element.
sourceraw docstring

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

× close