Skip to content

Animation

Properties

Methods

  • copy

    Returns a copy of this object with the specified properties overridden.

Properties#

curve #

The curve to use for the animation.

duration #

duration: DurationValue = field(
    default_factory=lambda: Duration()
)

The duration of the animation.

Methods#

copy #

copy(
    *,
    duration: DurationValue | None = None,
    curve: AnimationCurve | None = None,
) -> Animation

Returns a copy of this object with the specified properties overridden.