SVGAnimatedRect

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.

The SVGAnimatedRect interface is used for attributes of basic SVGRect which can be animated.

Interface overview

Also implement None
Methods None
Properties
Normative document SVG 1.1 (2nd Edition)

Instance properties

Name Type Description
baseVal SVGRect The base value of the given attribute before applying any animations.
animVal SVGRect A read only SVGRect representing the current animated value of the given attribute. If the given attribute is not currently being animated, then the SVGRect will have the same contents as baseVal. The object referenced by animVal will always be distinct from the one referenced by baseVal, even when the attribute is not animated.

Instance methods

The SVGAnimatedRect interface do not provide any specific methods.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGAnimatedRect

Browser compatibility

BCD tables only load in the browser