public class AnnotationFactory
extends java.lang.Object
| Constructor and Description |
|---|
AnnotationFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Annotation |
buildAnnotation(Library library,
Name subType,
java.awt.Rectangle rect)
Creates a new Annotation object using properties from the annotationState
paramater.
|
public static Annotation buildAnnotation(Library library, Name subType, java.awt.Rectangle rect)
library - library to register annotation withsubType - type of annotation to createrect - bounds of new annotation specified in user space.