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) |
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.
|
Methods
The SVGAnimatedRect
interface do not provide any specific methods.
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
SVGAnimatedRect
|
Chrome
Full support Yes |
Edge
Full support ≤18 |
Firefox
Full support Yes |
IE
? |
Opera
Full support Yes |
Safari
Full support Yes |
WebView Android
No support No |
Chrome Android
Full support Yes |
Firefox Android
Full support Yes |
Opera Android
Full support Yes |
Safari iOS
Full support Yes |
Samsung Internet Android
Full support Yes |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
SVGAnimatedRect by Mozilla Contributors is licensed under CC-BY-SA 2.5.