public class

SmartPenInk

extends FreehandCreate
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.BaseTool
       ↳ com.pdftron.pdf.tools.SimpleShapeCreate
         ↳ com.pdftron.pdf.tools.FreehandCreate
           ↳ com.pdftron.pdf.tools.SmartPenInk

Summary

Constants
float sHORIZONTAL_THRESHOLD
float sVERTICAL_THRESHOLD
[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
SmartPenInk(PDFViewCtrl ctrl)
Class constructor
Public Methods
ToolManager.ToolModeBase getToolMode()
The overload implementation of getToolMode().
boolean onDown(MotionEvent e)
The overload implementation of onDown(MotionEvent).
void setupAnnotStyles(ArrayList<AnnotStyle> annotStyles)
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.FreehandCreate
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

Constants

public static final float sHORIZONTAL_THRESHOLD

Constant Value: 4.0

public static final float sVERTICAL_THRESHOLD

Constant Value: 12.0

Public Constructors

public SmartPenInk (PDFViewCtrl ctrl)

Class constructor

Public Methods

public ToolManager.ToolModeBase getToolMode ()

The overload implementation of getToolMode().

Returns
  • the mode/identifier of this tool.

public boolean onDown (MotionEvent e)

The overload implementation of onDown(MotionEvent).

public void setupAnnotStyles (ArrayList<AnnotStyle> annotStyles)