1package org.libreoffice.canvas;
3import android.graphics.Canvas;
4import android.graphics.Color;
5import android.graphics.Paint;
6import android.graphics.RectF;
Common implementation to canvas elements.
Handles the cursor drawing on the canvas.
boolean onHitTest(float x, float y)
Hit test for cursor, always false.
void onDraw(Canvas canvas)
Draw the cursor.
void cycleAlpha()
Cycle the alpha color of the cursor, makes the.
static final float CURSOR_WIDTH
void reposition(RectF rect)
Reposition the cursor on screen.
Cursor()
Construct the cursor and set the default values.