Package org.jpedal.io.annotation
Class FreeTextAnnotation
java.lang.Object
org.jpedal.io.annotation.WritableAnnotation
org.jpedal.io.annotation.FreeTextAnnotation
Class generates Free Text Annotation
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jpedal.io.annotation.WritableAnnotation
WritableAnnotation.AnnotationType
-
Constructor Summary
ConstructorDescriptionFreeTextAnnotation
(int page, float x0, float y0, float x1, float y1, String htmlText) Constructor for creating Freetext AnnotationFreeTextAnnotation
(int page, float x0, float y0, float x1, float y1, FormObject form) Constructor for creating Freetext Annotation -
Method Summary
Methods inherited from class org.jpedal.io.annotation.WritableAnnotation
getFormObject, getNonStrokeColor, getPage, getPopupString, getResources, getStrokeColor, setNonStrokeColor, setStrokeColor, setTextSize
-
Constructor Details
-
FreeTextAnnotation
Constructor for creating Freetext 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 containing all the forms values
-
FreeTextAnnotation
Constructor for creating Freetext 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 pointhtmlText
- text to be appeared in free text annotation
-
-
Method Details
-
getDictString
- Overrides:
getDictString
in classWritableAnnotation
- Returns:
- Pdf specified dictionary string
-
getAPString
- Overrides:
getAPString
in classWritableAnnotation
-