Scale
INFO
Inherits: TypedCommand
Scale the object each side individually.
Example:
ts
new ScaleVec({
startTime: 0,
endTime: 1000,
startValue: [0, 0],
endValue: [1, 2],
easing: 3
})Constructor details
ts
new ScaleVec({
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(IVector2 | Vector2Tuple) (Vector2): The starting scale value or vector.endValue(IVector2 | Vector2Tuple | undefined) (Vector2): 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: