InvalidArgumentError if the figure is not a point, if the duration is not a finite number greater than 0, if the delay is not a finite
number of 0 or more, if the easing or the loop do not exist, or if the animation has no start point or no end point (from and to).
The animation of the figure is then left unchanged.
Give a point its animation, or take it away with
null(always possible). Only a point can be animated, from a point to a point: the code that plays the animations (Animate) has to know how to play a figure, so another kind of figure has its own case here and there.