public abstract class

BaseTool

extends Tool
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.BaseTool
Known Direct Subclasses
Known Indirect Subclasses

Summary

Constants
int LOUPE_RADIUS
int LOUPE_SIZE
int LOUPE_TYPE_MEASURE
int LOUPE_TYPE_TEXT
[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.Tool
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.Tool
Public Constructors
BaseTool(PDFViewCtrl ctrl)
Class constructor
Public Methods
boolean isDrawingLoupe()
void onClose()
The overload implementation of onClose().
boolean onDown(MotionEvent e)
The overload implementation of onDown(MotionEvent).
void onDraw(Canvas canvas, Matrix tfm)
The overload implementation of onDraw(Canvas, Matrix).
boolean onMove(MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)
The overload implementation of onMove(MotionEvent, MotionEvent, float, float).
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface com.pdftron.pdf.tools.ToolManager.Tool

Constants

public static final int LOUPE_RADIUS

Constant Value: 60 (0x0000003c)

public static final int LOUPE_SIZE

Constant Value: 120 (0x00000078)

public static final int LOUPE_TYPE_MEASURE

Constant Value: 2 (0x00000002)

public static final int LOUPE_TYPE_TEXT

Constant Value: 1 (0x00000001)

Public Constructors

public BaseTool (PDFViewCtrl ctrl)

Class constructor

Public Methods

public boolean isDrawingLoupe ()

public void onClose ()

The overload implementation of onClose().

public boolean onDown (MotionEvent e)

The overload implementation of onDown(MotionEvent).

public void onDraw (Canvas canvas, Matrix tfm)

The overload implementation of onDraw(Canvas, Matrix).

public boolean onMove (MotionEvent e1, MotionEvent e2, float x_dist, float y_dist)

The overload implementation of onMove(MotionEvent, MotionEvent, float, float).