LibreOffice Module android (master) 1
SelectionHandleStart.java
Go to the documentation of this file.
1package org.libreoffice.canvas;
2
4
5import org.libreoffice.R;
6
12 super(context, getBitmapForDrawable(context, R.drawable.handle_alias_start));
13 }
14
19 @Override
20 public void reposition(float x, float y) {
21 super.reposition(x, y);
22 // align to the right
23 float offset = mScreenPosition.width();
24 mScreenPosition.offset(-offset, 0);
25 }
26
30 @Override
32 return HandleType.START;
33 }
34}
Main activity of the LibreOffice App.
Selection handle for showing and manipulating the start of a selection.
void reposition(float x, float y)
Change the position of the handle on the screen.
SelectionHandleStart(LibreOfficeMainActivity context)
HandleType getHandleType()
Define the type of the handle.
Selection handle is a common class for "start", "middle" and "end" types of selection handles.
float y
float x
const sal_uInt8 R