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
-
Method Summary
Modifier and TypeMethodDescriptiongetAPString
(int parentObj) Returns the form object used to create this object or null is none were used.float[]
int
getPage()
getPopupString
(int parentObj) byte[][]
getResources
(int parentObj) float[]
void
setNonStrokeColor
(Color color) void
setStrokeColor
(Color color) void
setTextSize
(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)
-