Package com.yandex.runtime.image
Class AnimatedImage
java.lang.Object
↳ com.yandex.runtime.image.AnimatedImage
class AnimatedImage
An animated image.
Summary
Constructors
Signature and Description |
AnimatedImage(int loopCount, |
AnimatedImage(int loopCount) |
Methods
Type and modifiers |
Method and Description |
void |
addFrame(ImageProvider image, |
java.util.List<Frame> |
getFrames() |
int |
getLoopCount() |
Constuctors
AnimatedImage
AnimatedImage(int loopCount, |
AnimatedImage
AnimatedImage(int loopCount) |
Methods
addFrame
void addFrame(ImageProvider image, |
getFrames
java.util.List<Frame> getFrames() |
Returns a list of animation frames.
getLoopCount
int getLoopCount() |
Returns the number of animation loops.
The zero value is treated as infinity.