AnimationStyle
Properties
-
curve(AnimationCurve | None) –The curve to use for the animation.
-
duration(DurationValue | None) –The duration of the animation.
-
reverse_curve(AnimationCurve | None) –The curve to use for the reverse animation.
-
reverse_duration(DurationValue | None) –The duration of the reverse animation.
Methods
-
copy–Returns a copy of this object with the specified properties overridden.
Properties#
curve
class-attribute
instance-attribute
#
curve: AnimationCurve | None = None
The curve to use for the animation.
duration
class-attribute
instance-attribute
#
duration: DurationValue | None = None
The duration of the animation.
reverse_curve
class-attribute
instance-attribute
#
reverse_curve: AnimationCurve | None = None
The curve to use for the reverse animation.
reverse_duration
class-attribute
instance-attribute
#
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.