Fade
INFO
Inherits: TypedCommand
Change the opacity of the object (how transparent it is).
Example:
ts
new Fade({
startTime: 0,
endTime: 1000,
startValue: 0,
endValue: 1,
easing: 3
})Constructor details
ts
new Fade({
startTime,
endTime,
startValue,
endValue,
easing
})- Parameters:
startTime(string | number | Timestamp) (Timestamp): The start time of the animation.endTime(string | number | Timestamp | undefined) (Timestamp): The end time of the animation. Defaults toundefined.startValue(number): The starting opacity value.endValue(number | undefined): The ending opacity value. Defaults toundefined.easing(Easing | undefined) (Easing): The easing function for the rotate animation. Defaults toundefined.
Properties
Properties inherited from Command:
Properties inherited from TypedCommand: