- The path and filename of images to load, without the suffix (i.e. .JPG)
- This argument lets you specify the top, left, bottom and right inset (the sizes of your images).
- How long the animation will last.
A single animated image.
All images that are to be loaded should be of the same size and scale. This method will load files by appending an integer (in the range of 0-1024) to the end of file and loading that file. For example, if name was 'my_image', this method will create an animation of all files from 'my_image0' to 'my_image1024' inclusive.
Consider the following image, the capInsets specify these borders:
This can be used from a background thread.