public interface SpenDrawListener
| Modifier and Type | Method and Description |
|---|---|
void |
onDraw(Canvas canvas,
float x,
float y,
float ratio,
float frameStartX,
float frameStartY,
RectF updateRect)
Called when a drawing event is completed.
|
void onDraw(Canvas canvas, float x, float y, float ratio, float frameStartX, float frameStartY, RectF updateRect)
canvas - The canvas on which the drawing occurs.x - The current X coordinate.y - The current Y coordinate.ratio - The zoom ratio.frameStartX - The starting canvas X coordinate for the drawing.frameStartY - The starting canvas Y coordinate for the drawing.updateRect - The rect for the update.