strokeTransition

inline fun Shape.strokeTransition(duration: Duration = 400.0.ms, fromValue: Color? = null, toValue: Color? = null, configuration: StrokeTransition.() -> Unit): StrokeTransition

Plays a StrokeTransition.

Return

the animation played.

Parameters

duration

length of this animation.

configuration

the configuration block that customizes animation.