Class TextMarkup
- java.lang.Object
-
- com.pdftools.toolbox.internal.NativeBase
-
- com.pdftools.toolbox.internal.NativeObject
-
- com.pdftools.toolbox.pdf.annotations.Annotation
-
- com.pdftools.toolbox.pdf.annotations.MarkupAnnotation
-
- com.pdftools.toolbox.pdf.annotations.TextMarkup
-
- Direct Known Subclasses:
Highlight
,Squiggly
,StrikeThrough
,Underline
public class TextMarkup extends MarkupAnnotation
An annotation that marks up part(s) of a text
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuadrilateralList
getMarkupArea()
The markup area (Getter)Paint
getPaint()
The paint the annotation and the popup (Getter)Popup
getPopup()
The pop-up (Getter)-
Methods inherited from class com.pdftools.toolbox.pdf.annotations.MarkupAnnotation
getInfo, getLocked, getReplies
-
Methods inherited from class com.pdftools.toolbox.pdf.annotations.Annotation
copy, getBoundingBox, getHidden, getId, getNoPrint, getNoRotate, getNoZoom
-
Methods inherited from class com.pdftools.toolbox.internal.NativeObject
equals, hashCode
-
-
-
-
Method Detail
-
getPaint
public Paint getPaint() throws CorruptException
The paint the annotation and the popup (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closedCorruptException
- if the PDF is corrupt and the annotation's paint cannot be read
-
getPopup
public Popup getPopup()
The pop-up (Getter)
- Throws:
java.lang.IllegalStateException
- if the object has already been closed
-
getMarkupArea
public QuadrilateralList getMarkupArea() throws CorruptException
The markup area (Getter)
This list oftoolbox.geometry.real.Quadrilateral
s defines the markup area on the page.- Throws:
java.lang.IllegalStateException
- if the object has already been closedCorruptException
- if the PDF is corrupt
-
-