public class

Circle

extends Markup
java.lang.Object
   ↳ com.pdftron.pdf.Annot
     ↳ com.pdftron.pdf.annots.Markup
       ↳ com.pdftron.pdf.annots.Circle

Class Overview

Square and circle annotations (PDF 1.3) shall display, respectively, a rectangle or an ellipse on the page. When opened, they shall display a pop-up window containing the text of the associated note. The rectangle or ellipse shall be inscribed within the annotation rectangle defined by the annotation dictionary's Rect entry

Summary

[Expand]
Inherited Constants
From class com.pdftron.pdf.annots.Markup
From class com.pdftron.pdf.Annot
Public Constructors
Circle(Obj d)
Creates an Circle annotation and initialize it using given Cos/SDF object.
Circle()
Creates an empty Circle annotaiton.
Circle(Annot annot)
Creates a Circle annotation and initialize it using given annotation object.
Public Methods
static Circle create(Doc doc, Rect pos)
Creates a new Circle annotation, in the specified document.
[Expand]
Inherited Methods
From class com.pdftron.pdf.annots.Markup
From class com.pdftron.pdf.Annot
From class java.lang.Object

Public Constructors

public Circle (Obj d)

Creates an Circle annotation and initialize it using given Cos/SDF object.

Note: The constructor does not copy any data, but is instead the logical equivalent of a type cast.

Parameters
d the input Cos/SDF object

public Circle ()

Creates an empty Circle annotaiton.

public Circle (Annot annot)

Creates a Circle annotation and initialize it using given annotation object.

Note: The constructor does not copy any data, but is instead the logical equivalent of a type cast.

Parameters
annot the given annotation object

Public Methods

public static Circle create (Doc doc, Rect pos)

Creates a new Circle annotation, in the specified document.

Parameters
doc A document to which the annotation is added.
pos A rectangle specifying the annotation's bounds, specified in user space coordinates.
Returns
  • A newly created blank Circle annotation.