Package org.jpedal.io.annotation
Class WritableAnnotation
java.lang.Object
org.jpedal.io.annotation.WritableAnnotation
- Direct Known Subclasses:
CircleAnnotation,FreeTextAnnotation,HighlightAnnotation,ImageAnnotation,InkAnnotation,LineAnnotation,LinkAnnotation,PolygonAnnotation,PolyLineAnnotation,SquareAnnotation,TextAnnotation
Interface for creating annotations
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetAPString(int parentObj) Returns the form object used to create this object or null is none were used.float[]intgetPage()getPopupString(int parentObj) byte[][]getResources(int parentObj) float[]voidsetNonStrokeColor(Color color) voidsetStrokeColor(Color color) voidsetTextSize(int textSize)
-
Method Details
-
getPage
public int getPage() -
setTextSize
public void setTextSize(int textSize) -
setStrokeColor
-
setNonStrokeColor
-
getStrokeColor
public float[] getStrokeColor() -
getNonStrokeColor
public float[] getNonStrokeColor() -
getFormObject
Returns the form object used to create this object or null is none were used.- Returns:
- FormObject which encapsulates all form data (accessible from getters and setters)
-
getDictString
- Returns:
- Pdf specified dictionary string
-
getPopupString
-
getAPString
-
getResources
public byte[][] getResources(int parentObj)
-