java.lang.Object |
↳ |
com.facebook.imagepipeline.animated.impl.AnimatedImageCompositor |
Class Overview
Contains the logic for compositing the frames of an AnimatedImage
. Animated image formats
like GIF and WebP support inter-frame compression where a subsequent frame may require being
blended on a previous frame in order to render the full frame. This class encapsulates the
behavior to be able to render any frame of the image. Designed to work with a cache via a
Callback.
Summary
Public Methods |
void
|
renderFrame(int frameNumber, Bitmap bitmap)
Renders the specified frame.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
Public Methods
public
void
renderFrame
(int frameNumber, Bitmap bitmap)
Renders the specified frame. Only should be called on the rendering thread.
Parameters
frameNumber |
the frame to render |
bitmap |
the bitmap to render into
|