Package org.jpedal.io.annotation
Class LineAnnotation
- java.lang.Object
-
- org.jpedal.io.annotation.WritableAnnotation
-
- org.jpedal.io.annotation.LineAnnotation
-
public class LineAnnotation extends WritableAnnotation
Class generates Line Annotation- See Also:
AnnotationWriter
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jpedal.io.annotation.WritableAnnotation
WritableAnnotation.AnnotationType
-
-
Constructor Summary
Constructors Constructor Description LineAnnotation(int page, float x0, float y0, float x1, float y1, float linex0, float liney0, float linex1, float liney1)
Constructor for creating Ink AnnotationLineAnnotation(int page, float x0, float y0, float x1, float y1, org.jpedal.objects.raw.FormObject form)
Constructor for creating Ink Annotation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAPString(int parentObj)
String
getDictString()
-
Methods inherited from class org.jpedal.io.annotation.WritableAnnotation
getFormObject, getNonStrokeColor, getPage, getPopupString, getStrokeColor, setNonStrokeColor, setStrokeColor, setTextSize
-
-
-
-
Constructor Detail
-
LineAnnotation
public LineAnnotation(int page, float x0, float y0, float x1, float y1, float linex0, float liney0, float linex1, float liney1)
Constructor for creating Ink 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 pointlinex0
- pdf based min x point of lineliney0
- pdf based min y point of linelinex1
- pdf based max x point of lineliney1
- pdf based min y point of line
-
LineAnnotation
public LineAnnotation(int page, float x0, float y0, float x1, float y1, org.jpedal.objects.raw.FormObject form)
Constructor for creating Ink 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 holding values
-
-
Method Detail
-
getDictString
public String getDictString()
- Specified by:
getDictString
in classWritableAnnotation
- Returns:
- Pdf specified dictionary string
-
getAPString
public String getAPString(int parentObj)
- Overrides:
getAPString
in classWritableAnnotation
-
-