The polygon to animate to (the ending state).
OptionalbackwardsWhether the animation should play in reverse. Optional, default is false.
The polygon to animate from (the starting state).
OptionaldurationThe duration of the animation in milliseconds. Optional, default is 1000ms.
OptionalinterpolationA custom interpolation function to animate between the before and after states.
Optional, default is easeInOut.
Options for configuring a
WebaniPolygonAnimation.