Package org.jpedal.io.annotation
Class TextAnnotation
java.lang.Object
org.jpedal.io.annotation.WritableAnnotation
org.jpedal.io.annotation.TextAnnotation
Class generates Text Annotation / Sticky note annotation
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jpedal.io.annotation.WritableAnnotation
WritableAnnotation.AnnotationType
-
Constructor Summary
ConstructorDescriptionTextAnnotation
(int page, float x0, float y0, float x1, float y1, String text) Constructor for creating Text Annotation / sticky note annotationTextAnnotation
(int page, float x0, float y0, float x1, float y1, FormObject form) Constructor for creating Text Annotation / sticky note annotation -
Method Summary
Methods inherited from class org.jpedal.io.annotation.WritableAnnotation
getFormObject, getNonStrokeColor, getPage, getResources, getStrokeColor, setNonStrokeColor, setStrokeColor, setTextSize
-
Constructor Details
-
TextAnnotation
Constructor for creating Text Annotation / sticky note annotation- Parameters:
page
- the page number where annotation to be appeared (starting from 0)x0
- pdf based min x pointy0
- pdf based min y pointx1
- pdf based max x pointy1
- pdf based max y pointform
- formObject for the annotation
-
TextAnnotation
Constructor for creating Text Annotation / sticky note annotation- Parameters:
page
- the page number where annotation to be appeared (starting from 0)x0
- pdf based min x pointy0
- pdf based min y pointx1
- pdf based max x pointy1
- pdf based max y pointtext
- text to be appeared in text annotation
-
-
Method Details
-
getDictString
- Overrides:
getDictString
in classWritableAnnotation
- Returns:
- Pdf specified dictionary string
-
getPopupString
- Overrides:
getPopupString
in classWritableAnnotation
-
getAPString
- Overrides:
getAPString
in classWritableAnnotation
-