public class

OvalCreate

extends SimpleShapeCreate
java.lang.Object
   ↳ com.pdftron.pdf.tools.Tool
     ↳ com.pdftron.pdf.tools.SimpleShapeCreate
       ↳ com.pdftron.pdf.tools.OvalCreate

Class Overview

This class is for creating an oval annotation.

Summary

[Expand]
Inherited Constants
From class com.pdftron.pdf.tools.Tool
[Expand]
Inherited Fields
From class com.pdftron.pdf.tools.SimpleShapeCreate
From class com.pdftron.pdf.tools.Tool
Public Constructors
OvalCreate(PDFViewCtrl ctrl)
Class constructor
Public Methods
ToolManager.ToolModeBase getToolMode()
The overload implementation of getToolMode().
void onDraw(Canvas canvas, Matrix tfm)
The overload implementation of onDraw(Canvas, Matrix).
Protected Methods
Annot createMarkup(PDFDoc doc, Rect bbox)
The overload implementation of createMarkup(PDFDoc, Rect).
[Expand]
Inherited Methods
From class com.pdftron.pdf.tools.SimpleShapeCreate
From class com.pdftron.pdf.tools.Tool
From class java.lang.Object
From interface com.pdftron.pdf.tools.ToolManager.Tool

Public Constructors

public OvalCreate (PDFViewCtrl ctrl)

Class constructor

Public Methods

public ToolManager.ToolModeBase getToolMode ()

The overload implementation of getToolMode().

Returns
  • the mode/identifier of this tool.

public void onDraw (Canvas canvas, Matrix tfm)

The overload implementation of onDraw(Canvas, Matrix).

Protected Methods

protected Annot createMarkup (PDFDoc doc, Rect bbox)

The overload implementation of createMarkup(PDFDoc, Rect).

Parameters
doc PDF Document
bbox bounding box
Returns
  • Markup annotation
Throws
PDFNetException