public interface Canvas
| Modifier and Type | Method and Description |
|---|---|
void |
drawBitmap(Bitmap bitmap,
float x,
float y)
Draw Bitmap to Canvas.
|
void |
drawLine(int x1,
int y1,
int x2,
int y2,
Paint paint) |
void |
drawText(java.lang.String string,
float x,
float y,
Paint paint)
Draw text to Canvas.
|
void |
drawText(java.lang.String string,
float x,
float y,
Paint fill,
Paint stroke)
Draw text to Canvas.
|
void |
fillColor(int color) |
int |
getHeight() |
int |
getWidth() |
void |
setBitmap(Bitmap bitmap)
Sets the backing
Bitmap. |
void drawText(java.lang.String string,
float x,
float y,
Paint paint)
void drawText(java.lang.String string,
float x,
float y,
Paint fill,
Paint stroke)
void drawBitmap(Bitmap bitmap, float x, float y)
void drawLine(int x1,
int y1,
int x2,
int y2,
Paint paint)
void fillColor(int color)
int getHeight()
int getWidth()