public class

StrikeOut

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

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
StrikeOut(Obj d)
Creates a StrikeOut annotation and initialize it using given Cos/SDF object.
StrikeOut(Annot annot)
Creates a StrikeOut annotation and initialize it using given annotation object.
Public Methods
static StrikeOut create(Doc doc, Rect pos)
Creates a new StrikeOut 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 StrikeOut (Obj d)

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

Creates a StrikeOut 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 StrikeOut create (Doc doc, Rect pos)

Creates a new StrikeOut 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 StrikeOut annotation.