GIFAnimatable
-
Returns the intrinsic content size based on the size of the image.
-
Total duration of one animation loop
-
Returns the active frame if available.
-
Total frame count of the GIF.
-
Introspect whether the instance is animating.
-
Prepare for animation and start animating immediately.
-
Prepare for animation and start animating immediately.
-
Prepare for animation and start animating immediately.
-
Prepares the animator instance for animation.
-
Prepare for animation and start animating immediately.
-
Prepare for animation and start animating immediately.
-
Stop animating and free up GIF data from memory.
-
Start animating GIF.
-
Stop animating GIF.
-
Whether the frame images should be resized or not. The default is
false
, which means that the frame images retain their original size. -
Sets the number of frames that should be buffered. Default is 50. A high number will result in more memory usage and less CPU load, and vice versa.
-
Updates the image with a new frame if necessary.
-
Calls setNeedsDisplay on the layer whenever the animator has a new frame. Should not be called directly.