Class TextMarkup
- java.lang.Object
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeBase
-
- com.pdf_tools.fourheights.pdftoolbox.internal.NativeObject
-
- com.pdf_tools.fourheights.pdftoolbox.pdf.annotations.Annotation
-
- com.pdf_tools.fourheights.pdftoolbox.pdf.annotations.MarkupAnnotation
-
- com.pdf_tools.fourheights.pdftoolbox.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.pdf_tools.fourheights.pdftoolbox.pdf.annotations.MarkupAnnotation
getInfo, getLocked, getReplies
-
Methods inherited from class com.pdf_tools.fourheights.pdftoolbox.pdf.annotations.Annotation
copy, getBoundingBox, getHidden, getId, getNoPrint, getNoRotate, getNoZoom
-
Methods inherited from class com.pdf_tools.fourheights.pdftoolbox.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 ofpdftoolbox.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
-
-