Package org.jpedal.io.annotation
Class LinkAnnotation
- java.lang.Object
-
- org.jpedal.io.annotation.WritableAnnotation
-
- org.jpedal.io.annotation.LinkAnnotation
-
public class LinkAnnotation extends WritableAnnotation
Class generates Link 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 LinkAnnotation(int page, float x0, float y0, float x1, float y1, String url)
Constructor for creating Circle AnnotationLinkAnnotation(int page, float x0, float y0, float x1, float y1, org.jpedal.objects.raw.FormObject form)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDictString()
-
Methods inherited from class org.jpedal.io.annotation.WritableAnnotation
getAPString, getFormObject, getNonStrokeColor, getPage, getPopupString, getStrokeColor, setNonStrokeColor, setStrokeColor, setTextSize
-
-
-
-
Constructor Detail
-
LinkAnnotation
public LinkAnnotation(int page, float x0, float y0, float x1, float y1, String url)
Constructor for creating Circle 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 pointurl
- url to be shown when the linked box clicked
-
LinkAnnotation
public LinkAnnotation(int page, float x0, float y0, float x1, float y1, org.jpedal.objects.raw.FormObject form)
-
-
Method Detail
-
getDictString
public String getDictString()
- Specified by:
getDictString
in classWritableAnnotation
- Returns:
- Pdf specified dictionary string
-
-