public class

CountMeasurementCreateTool

extends StickyNoteCreate
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.BaseTool
       ↳ com.pdftron.pdf.tools.SimpleShapeCreate
         ↳ com.pdftron.pdf.tools.StickyNoteCreate
           ↳ com.pdftron.pdf.tools.CountMeasurementCreateTool

Summary

Constants
String COUNT_MEASURE_CHECKMARK_ICON
String COUNT_MEASURE_KEY
String COUNT_MEASURE_LABEL_KEY
[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
CountMeasurementCreateTool(PDFViewCtrl ctrl)
Class constructor
Public Methods
int getCreateAnnotType()
Gets what annotation type this tool can create
ToolManager.ToolModeBase getToolMode()
The overload implementation of getToolMode().
void setTargetPoint(PointF point)
Sets the target point.
void setupAnnotProperty(AnnotStyle annotStyle)
Setup annotation properties.
void setupAnnotProperty(int color, float opacity, float thickness, int fillColor, String icon, String pdfTronFontName)
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.StickyNoteCreate
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.model.AnnotStyle.OnAnnotStyleChangeListener
From interface com.pdftron.pdf.tools.DialogAnnotNote.DialogAnnotNoteListener
From interface com.pdftron.pdf.tools.ToolManager.Tool

Constants

public static final String COUNT_MEASURE_CHECKMARK_ICON

Constant Value: "CheckMark"

public static final String COUNT_MEASURE_KEY

Constant Value: "trn-is-count"

public static final String COUNT_MEASURE_LABEL_KEY

Constant Value: "count-label"

Public Constructors

public CountMeasurementCreateTool (PDFViewCtrl ctrl)

Class constructor

Public Methods

public int getCreateAnnotType ()

Gets what annotation type this tool can create

Returns
  • annot type for annotation creation tool, or unknown for non-creation tool.

public ToolManager.ToolModeBase getToolMode ()

The overload implementation of getToolMode().

Returns
  • the mode/identifier of this tool.

public void setTargetPoint (PointF point)

Sets the target point.

Parameters
point The target point

public void setupAnnotProperty (AnnotStyle annotStyle)

Setup annotation properties.

public void setupAnnotProperty (int color, float opacity, float thickness, int fillColor, String icon, String pdfTronFontName)

Parameters
color The color
opacity The opacity
thickness The thickness
fillColor The color for filling
icon The icon
pdfTronFontName The PDFTron font name