blob: b9ad464321d8987511157ca74eb561ed23f66407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
package org.libreoffice.canvas;
import android.graphics.Canvas;
interface CanvasElementImplRequirement {
/**
* Implement hit test here
* @param x - x coordinate of the
* @param y - y coordinate of the
*/
boolean onHitTest(float x, float y);
/**
* Called inside draw if the element is visible. Override this method to
* draw the element on the canvas.
*
* @param canvas - the canvas
*/
void onDraw(Canvas canvas);
}
|