10package org.libreoffice.canvas;
12import android.graphics.Canvas;
Canvas element is an element (or part) that is drawn canvas and can potentially be interacted with.
boolean isVisible()
Return if element is visible.
boolean contains(float x, float y)
Hit test - returns true if the object has been hit.
void draw(Canvas canvas)
Called when the element needs to be draw no the canvas.
void setVisible(boolean visible)
Set element visibility.