public interface IAnnotationFactory
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.| Modifier and Type | Method and Description |
|---|---|
PDAnnotation |
createAnnotation(PDPage page,
Rectangle2D rect,
Map attributes)
Create a new
PDAnnotation from scratch. |
COSName |
getAnnotationType()
The type of annotation this factory can create.
|
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.PDAnnotationde.intarsys.tools.reflect.ObjectCreationExceptionCOSName getAnnotationType()
This is for example /Ink or /Circle.
Copyright © 2013 intarsys consulting GmbH. All Rights Reserved.