|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAnnotationFactory
A factory for PDAnnotation
instances. A new PDAnnotation
is
created on a dedicated page with a dedicated bounding rectangle. More
attributes may be supported by the concrete IAnnotationFactory
implementation and are looked up in the attributes
.
Method Summary | |
---|---|
PDAnnotation |
createAnnotation(PDPage page,
Rectangle2D rect,
Map attributes)
Create a new PDAnnotation from scratch. |
COSName |
getAnnotationType()
The type of annotation this factory can create. |
Method Detail |
---|
PDAnnotation createAnnotation(PDPage page, Rectangle2D rect, Map attributes) throws de.intarsys.tools.reflect.ObjectCreationException
PDAnnotation
from scratch.
page
- The page where the annotation is created.rect
- The rectangle bounds of the annotation.attributes
- More attributes that are required for annotation creation in
their special IAnnotationFactory
implementation.
PDAnnotation
de.intarsys.tools.reflect.ObjectCreationException
COSName getAnnotationType()
This is for example /Ink or /Circle.
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |