public class

AnnotEditAdvancedShape

extends AnnotEdit
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.AnnotEdit
       ↳ com.pdftron.pdf.tools.AnnotEditAdvancedShape

Class Overview

This class is responsible for editing a selected advanced shape such as polyline, polygon and cloud.

Summary

Constants
int CALLOUT_END_POINT_INDEX
int CALLOUT_KNEE_POINT_INDEX
int CALLOUT_START_POINT_INDEX
[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.AnnotEdit
From class com.pdftron.pdf.tools.Tool
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.Tool
Public Constructors
AnnotEditAdvancedShape(PDFViewCtrl ctrl)
Class constructor
Public Methods
ToolManager.ToolModeBase getToolMode()
The overload implementation of getToolMode().
void onCreate()
The overload implementation of onCreate().
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.AnnotEdit
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface android.text.TextWatcher
From interface com.pdftron.pdf.model.AnnotStyle.OnAnnotStyleChangeListener
From interface com.pdftron.pdf.tools.DialogAnnotNote.DialogAnnotNoteListener
From interface com.pdftron.pdf.tools.ToolManager.Tool
From interface com.pdftron.pdf.utils.InlineEditText.InlineEditTextListener

Constants

public static final int CALLOUT_END_POINT_INDEX

Constant Value: 10 (0x0000000a)

public static final int CALLOUT_KNEE_POINT_INDEX

Constant Value: 9 (0x00000009)

public static final int CALLOUT_START_POINT_INDEX

Constant Value: 8 (0x00000008)

Public Constructors

public AnnotEditAdvancedShape (PDFViewCtrl ctrl)

Class constructor

Public Methods

public ToolManager.ToolModeBase getToolMode ()

The overload implementation of getToolMode().

Returns
  • the mode/identifier of this tool.

public void onCreate ()

The overload implementation of onCreate().

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).