The last kind of animation we are going to cover is TPathAnimation. Vector graphic definition is a large topic and it's way beyond the purpose of this book. For now, we'll focus on the fact that we may want to animate a visual object so that it follows a certain path.
Specifically, we are going to talk about animating the position (and possibly the rotation) of the object; we won't be addressing any other properties, as we have done for the other animations we've covered. TPathAnimation does not inherit from TCustomPropertyAnimation, even though it addresses some of the properties of the target object. The addressed properties (Position and RotationAngle) are simply hard-wired into the animation object.
First of all, we need some SVG data defining the path. There are a number of SVG editors out there, but one of the most popular ones is InkScape (https://inkscape.org). We can use one of the available tools in the editor to draw a line (I've...