public interface ShowcaseDrawer
| Modifier and Type | Method and Description |
|---|---|
void |
drawShowcase(android.graphics.Bitmap buffer,
float x,
float y,
float scaleMultiplier)
Draw the showcase.
|
void |
drawToCanvas(android.graphics.Canvas canvas,
android.graphics.Bitmap bitmapBuffer)
Draw the commands drawn to the canvas.
|
void |
erase(android.graphics.Bitmap bitmapBuffer)
Remove all drawing on the bitmap.
|
float |
getBlockedRadius() |
int |
getShowcaseHeight() |
int |
getShowcaseWidth() |
void |
setBackgroundColour(int backgroundColor)
Set the background color of the showcase.
|
void |
setShowcaseColour(int color)
Sets the value of the showcase color from themes.
|
void setShowcaseColour(int color)
drawShowcase(Bitmap, float, float, float)color - the color supplied in the themevoid drawShowcase(android.graphics.Bitmap buffer,
float x,
float y,
float scaleMultiplier)
buffer - the bitmap to draw ontox - the x position of the point to showcasey - the y position of the point to showcasescaleMultiplier - a scale factor. Currently unusedint getShowcaseWidth()
int getShowcaseHeight()
float getBlockedRadius()
ShowcaseView.setBlocksTouches(boolean) is setvoid setBackgroundColour(int backgroundColor)
erase(Bitmap)void erase(android.graphics.Bitmap bitmapBuffer)
StandardShowcaseDrawer for an examplebitmapBuffer - the Bitmap to erase drawing fromvoid drawToCanvas(android.graphics.Canvas canvas,
android.graphics.Bitmap bitmapBuffer)
StandardShowcaseDrawer.canvas - canvas to draw tobitmapBuffer - bitmap to draw