public class AnnotationFactoryTools extends Object
| Constructor and Description |
|---|
AnnotationFactoryTools() |
| Modifier and Type | Method and Description |
|---|---|
static PDAnnotation |
createAnnotation(COSName type,
PDPage page,
Rectangle2D rect,
Map attributes)
Create a new
PDAnnotation from scratch. |
public static PDAnnotation createAnnotation(COSName type, PDPage page, Rectangle2D rect, Map attributes) throws de.intarsys.tools.reflect.ObjectCreationException
PDAnnotation from scratch.type - The COSName indicating the annotations type.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 or nullde.intarsys.tools.reflect.ObjectCreationExceptionCopyright © 2013 intarsys consulting GmbH. All Rights Reserved.