docs/javadoc/reference/com/facebook/imagepipeline/animated/base/AnimatedImage.html
|
|
Summary: Constants | Methods | [Expand All]
public interface
| com.facebook.imagepipeline.animated.base.AnimatedImage |
| Known Indirect Subclasses
GifImage, MovieAnimatedImage, WebPImage
| GifImage | A representation of a GIF image. | | MovieAnimatedImage | Simple wrapper for an animated image backed by Movie. | | WebPImage | A representation of a WebP image. |
|
Common interface for an animated image.
| Constants |
|---|
| int |
| Public Methods |
|---|
| abstract void |
| Disposes the instance. |
| abstract boolean |
Returns whether renderFrame(int, int, Bitmap) supports scaling to arbitrary sizes or whether scaling must be done externally. |
| abstract int |
| Gets the duration of the animated image. |
| abstract AnimatedImageFrame |
Creates an AnimatedImageFrame at the specified index. |
| abstract int |
| Gets the number of frames in the image. |
| abstract int[] |
| Gets the duration of each frame of the animated image. |
| abstract AnimatedDrawableFrameInfo |
| Gets the frame info for the specified frame. |
| abstract int |
| Gets the height of the image (also known as the canvas in WebP nomenclature). |
| abstract int |
| Gets the number of loops to run the animation for. |
| abstract int |
| Gets the size of bytes of the encoded image data (which is the data kept in memory for the image). |
| abstract int |
| Gets the width of the image (also known as the canvas in WebP nomenclature). |
Constant Value: 0 (0x00000000)
Disposes the instance. This will free native resources held by this instance. Once called, other methods on this instance may throw. Note, the underlying native resources may not actually be freed until all associated instances of AnimatedImageFrame are disposed or finalized as well.
Returns whether renderFrame(int, int, Bitmap) supports scaling to arbitrary sizes or whether scaling must be done externally.
Gets the duration of the animated image.
Creates an AnimatedImageFrame at the specified index.
| frameNumber | the index of the frame |
AnimatedImageFrameGets the number of frames in the image.
Gets the duration of each frame of the animated image.
Gets the frame info for the specified frame.
| frameNumber | the frame to get the info for |
Gets the height of the image (also known as the canvas in WebP nomenclature).
Gets the number of loops to run the animation for.
Gets the size of bytes of the encoded image data (which is the data kept in memory for the image).
Gets the width of the image (also known as the canvas in WebP nomenclature).
+Generated by Doclava. +