public class

Squiggly

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

Class Overview

TextMarkup annotations shall appear as highlights, underlines, strikeouts (all PDF 1.3), or jagged ("squiggly") underlines (PDF 1.4) in the text of a document. When opened, they shall display a pop-up window containing the text of the associated note.

Summary

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

Public Constructors

public Squiggly (Obj d)

Creates a Squiggly 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 Squiggly (Annot annot)

Creates a Squiggly 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 input annotation object

Public Methods

public static Squiggly create (Doc doc, Rect pos)

Creates a new Squiggly annotation, in the specified document.

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