SVGAnimatedPreserveAspectRatio

Nos bénévoles n'ont pas encore traduit cet article en Français. Inscrivez-vous et aidez-nous à réaliser cette tâche !
Vous pouvez également lire cet article en English (US).

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
  • readonly float baseVal
  • readonly float animVal
Normative document SVG 1.1 (2nd Edition)

Properties

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

Methods

The SVGAnimatedPreserveAspectRatio interface do not provide any specific methods.

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support ? Yes ? ? ? ?
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support No ? Yes ? ? ? ?

Étiquettes et contributeurs liés au document

Contributeurs à cette page : fscholz, abbycar, kscarfone, Sheppy, Jeremie
Dernière mise à jour par : fscholz,