SVGAnimatedPreserveAspectRatio
SVG animated preserveAspectRatio interface
The SVGAnimatedPreserveAspectRatio
interface is used for attributes of type SVGPreserveAspectRatio
which can be animated.
Interface overview
Also implement | None |
---|---|
Methods | None |
Properties |
|
Normative document | SVG 1.1 (2nd Edition) |
Instance properties
SVGAnimatedPreserveAspectRatio.baseVal
Read only-
A
SVGPreserveAspectRatio
that represents the base value of the given attribute before applying any animations. SVGAnimatedPreserveAspectRatio.animVal
Read only-
A
SVGPreserveAspectRatio
that represents the current animated value of the given attribute. If the given attribute is not currently being animated, then theSVGPreserveAspectRatio
will have the same contents asbaseVal
. The object referenced byanimVal
is always distinct from the one referenced bybaseVal
, even when the attribute is not animated.
Instance methods
The SVGAnimatedPreserveAspectRatio
interface do not provide any specific methods.
Browser compatibility
BCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.