public class BitmapLayer
extends Canvas
Modifier and Type | Class and Description |
---|---|
static class |
BitmapLayer.ConcurrentLayer |
Constructor and Description |
---|
BitmapLayer(float width,
float height,
Bitmap.Config config) |
BitmapLayer(int width,
int height,
Bitmap.Config config) |
Modifier and Type | Method and Description |
---|---|
BitmapLayer |
clear() |
Bitmap |
getBitmap() |
boolean |
matchSize(int width,
int height) |
void |
setBitmap(Bitmap bitmap) |
void |
startBuffer() |
void |
stopBuffer() |
public BitmapLayer(float width, float height, Bitmap.Config config)
@WorkerThread public BitmapLayer(int width, int height, Bitmap.Config config)
public BitmapLayer clear()
public Bitmap getBitmap()
public boolean matchSize(int width, int height)
public void setBitmap(@Nullable Bitmap bitmap)
public void startBuffer()
public void stopBuffer()