Scale
INFO
Inherits: TypedCommand
Change the size of the object relative to its original size.
Example:
ts
new Scale({
startTime: 0,
endTime: 1000,
startValue: 1,
endValue: 0.5,
easing: 3
})Constructor details
ts
new Scale({
startTime,
endTime,
startValue,
endValue,
easing
})Parameters:
startTime(number | string | Timestamp) (Timestamp): The start time of the animation.endTime(number | string | Timestamp | undefined) (Timestamp): The end time of the animation. Defaults toundefined.startValue(number): The starting scale value or vector.endValue(number | undefined): The ending scale value or vector. Defaults toundefined.easing(Easing | undefined) (Easing): The easing function for the scale animation. Defaults toundefined.
Properties
Properties inherited from Command:
Properties inherited from TypedCommand: