-
public interface OverlayBase interface for overlays.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description enumOverlay.Target
-
Method Summary
Modifier and Type Method Description abstract voiddrawOn(Overlay.Target target, Canvas canvas)Called for this overlay to draw itself on the specified target and canvas. abstract booleandrawsOn(Overlay.Target target)Called to understand if this overlay would like to draw onto the giventarget or not. -
-
Method Detail
-
drawOn
abstract void drawOn(Overlay.Target target, Canvas canvas)
Called for this overlay to draw itself on the specified target and canvas.
- Parameters:
target- targetcanvas- target canvas
-
drawsOn
abstract boolean drawsOn(Overlay.Target target)
Called to understand if this overlay would like to draw onto the giventarget or not. If true is returned, drawOn can becalled at a future time.
- Parameters:
target- the target
-
-
-
-