Skip to main content

SVGAnimatedPreserveAspectRatio

The SVGAnimatedPreserveAspectRatio interface represents attributes of type SVGPreserveAspectRatio which can be animated.

MDN Reference

Properties

animVal

readonly animVal: SVGPreserveAspectRatio;

The animVal read-only property of the SVGAnimatedPreserveAspectRatio interface represents the value of the preserveAspectRatio attribute of an SVG element after any animations or transformations are applied.

MDN Reference


baseVal

readonly baseVal: SVGPreserveAspectRatio;

The baseVal read-only property of the SVGAnimatedPreserveAspectRatio interface represents the base (non-animated) value of the preserveAspectRatio attribute of an SVG element.

MDN Reference