java.lang.Object | ||||
↳ | com.pdftron.pdf.tools.Tool | |||
↳ | com.pdftron.pdf.tools.BaseTool | |||
↳ | com.pdftron.pdf.tools.SimpleShapeCreate | |||
↳ | com.pdftron.pdf.tools.Eraser |
This class is for erasing annotation. There are two mode provided, can use as a ink eraser as well as a universal annotation eraser.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
interface | Eraser.EraserListener | This interface can be used to monitor eraser event | |||||||||
enum | Eraser.EraserType | ||||||||||
enum | Eraser.InkEraserMode |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.SimpleShapeCreate
| |||||||||||
From class
com.pdftron.pdf.tools.BaseTool
| |||||||||||
From class
com.pdftron.pdf.tools.Tool
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.Tool
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Eraser(PDFViewCtrl ctrl)
Class constructor
| |||||||||||
Eraser(PDFViewCtrl ctrl, Eraser.EraserType eraserType)
Class constructor
| |||||||||||
Eraser(PDFViewCtrl ctrl, Eraser.EraserType eraserType, Eraser.InkEraserMode inkEraserMode)
Class constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int |
getCreateAnnotType()
Gets what annotation type this tool can create
| ||||||||||
ToolManager.ToolModeBase |
getToolMode()
The overload implementation of
getToolMode() . | ||||||||||
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) . | ||||||||||
boolean |
onUp(MotionEvent e, PDFViewCtrl.PriorEventMode priorEventMode)
The overload implementation of
onUp(MotionEvent, PDFViewCtrl.PriorEventMode) . | ||||||||||
void |
setListener(Eraser.EraserListener listener)
Sets the
Eraser.EraserListener listener. | ||||||||||
void |
setupAnnotProperty(AnnotStyle annotStyle)
Setup annotation properties.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pdftron.pdf.tools.SimpleShapeCreate
| |||||||||||
From class
com.pdftron.pdf.tools.BaseTool
| |||||||||||
From class
com.pdftron.pdf.tools.Tool
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.pdftron.pdf.tools.ToolManager.Tool
|
Class constructor
Gets what annotation type this tool can create
The overload implementation of getToolMode()
.
The overload implementation of onDraw(Canvas, Matrix)
.
The overload implementation of onMove(MotionEvent, MotionEvent, float, float)
.
The overload implementation of onUp(MotionEvent, PDFViewCtrl.PriorEventMode)
.
Sets the Eraser.EraserListener
listener.
listener | The listener |
---|