The SVGAnimatedRect
interface is used for attributes of basic SVGRect
which can be animated.
The SVGAnimatedRect
interface is used for attributes of basic SVGRect
which can be animated.
Also implement | None |
---|---|
Methods | None |
Properties | |
Normative document | SVG 1.1 (2nd Edition) |
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. |
The SVGAnimatedRect
interface do not provide any specific methods.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
SVGAnimatedRect |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
animVal |
1 | 12 | 15 | 9 | ≤12.1 | 3 | 3 | 18 | 15 | ≤12.1 | 1 | 1.0 |
baseVal |
1 | 12 | 15 | 9 | ≤12.1 | 3 | 3 | 18 | 15 | ≤12.1 | 1 | 1.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimatedRect