public static interface Canvas.OnPaintCallback
Canvas
.Modifier and Type | Method and Description |
---|---|
void |
onPaint(Canvas.Graphics g,
int width,
int height)
called to repaint the graphics for this
Canvas |
void onPaint(Canvas.Graphics g, int width, int height)
Canvas
g
- the graphics contextwidth
- the width of the canvasheight
- the height of the canvas