Package org.jpedal.io.annotation
Class WritableAnnotation
- java.lang.Object
-
- org.jpedal.io.annotation.WritableAnnotation
-
- Direct Known Subclasses:
CircleAnnotation
,FreeTextAnnotation
,HighlightAnnotation
,InkAnnotation
,LineAnnotation
,LinkAnnotation
,PolygonAnnotation
,PolyLineAnnotation
,SquareAnnotation
,TextAnnotation
public abstract class WritableAnnotation extends Object
Interface for creating annotations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WritableAnnotation.AnnotationType
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getAPString(int parentObj)
abstract String
getDictString()
org.jpedal.objects.raw.FormObject
getFormObject()
Returns the form object used to create this object or null is none were used.float[]
getNonStrokeColor()
int
getPage()
String
getPopupString(int parentObj)
float[]
getStrokeColor()
void
setNonStrokeColor(Color color)
void
setStrokeColor(Color color)
void
setTextSize(int textSize)
-
-
-
Method Detail
-
getPage
public int getPage()
-
setTextSize
public void setTextSize(int textSize)
-
setStrokeColor
public void setStrokeColor(Color color)
-
setNonStrokeColor
public void setNonStrokeColor(Color color)
-
getStrokeColor
public float[] getStrokeColor()
-
getNonStrokeColor
public float[] getNonStrokeColor()
-
getFormObject
public org.jpedal.objects.raw.FormObject 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
public abstract String getDictString()
- Returns:
- Pdf specified dictionary string
-
getPopupString
public String getPopupString(int parentObj)
-
getAPString
public String getAPString(int parentObj)
-
-