Skip to content

AnimationStyle

AnimationStyle #

curve #

curve: AnimationCurve | None = None

The curve to use for the animation.

duration #

duration: DurationValue | None = None

The duration of the animation.

reverse_curve #

reverse_curve: AnimationCurve | None = None

The curve to use for the reverse animation.

reverse_duration #

reverse_duration: DurationValue | None = None

The duration of the reverse animation.

copy_with #

copy_with(
    *,
    duration: DurationValue | None = None,
    reverse_duration: DurationValue | None = None,
    curve: AnimationCurve | None = None,
    reverse_curve: AnimationCurve | None = None,
) -> AnimationStyle

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