Class

AnimatedImageVector

Animated vector graphics object that is generated as a result of androidx.compose.animation.graphics.res.loadAnimatedVectorResource.

Source set: Common

Added in 1.11.0-rc01

public class AnimatedImageVector
internal constructor(
    public val imageVector: ImageVector,
    internal val targets: List<AnimatedVectorTarget>,
)

Animated vector graphics object that is generated as a result of androidx.compose.animation.graphics.res.loadAnimatedVectorResource. It can be composed and rendered by rememberAnimatedVectorPainter.

Parameters

imageVector The ImageVector to be animated. This is represented with the android:drawable parameter of an <animated-vector> element.

Properties

totalDuration

Source set: Common

Added in 1.11.0-rc01

public val totalDuration: Int

The total duration of all the animations in this image, including start delays and repeats.

Companion Object