Skip to content

AnimationStyle

Properties

Methods

  • copy

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

Properties#

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.

Methods#

copy #

copy(
    *,
    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.