Class DrawingAnnotation
- 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.DrawingAnnotation
-
- Direct Known Subclasses:
EllipseAnnotation
,InkAnnotation
,LineAnnotation
,PolygonAnnotation
,PolyLineAnnotation
,RectangleAnnotation
public class DrawingAnnotation extends MarkupAnnotation
A drawing annotation
An annotation used to draws something on a page.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Paint
getPaint()
The paint for line stroking and for 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 for line stroking and for 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
-
-