Animation
Animation
#
duration
#
duration: DurationValue = field(
default_factory=lambda: Duration()
)
The duration of the animation.
copy_with
#
copy_with(
*,
duration: DurationValue | None = None,
curve: AnimationCurve | None = None,
) -> Animation
Returns a copy of this object with the specified properties overridden.