Rotate
INFO
Inherits: TypedCommand
Rotate the object around its origin.
Example:
ts
new Rotate({
startTime: 0,
endTime: 1000,
startValue: 0,
endValue: Math.PI / 2,
easing: 3
})Constructor details
ts
new Rotate({
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 rotation angle in radians.endValue(number | undefined): The ending rotation angle in radians. Defaults toundefined.easing(Easing | undefined) (Easing): The easing function for the rotate animation. Defaults toundefined.
Properties
Properties inherited from Command:
Properties inherited from TypedCommand: