CircleAnnotation
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation, com.aspose.pdf.MarkupAnnotation, com.aspose.pdf.CommonFigureAnnotation
public final class CircleAnnotation extends CommonFigureAnnotation
Class representing Circle annotation.
Constructors
Constructor | Description |
---|---|
CircleAnnotation(IDocument document) | Constructor for Circle annotation. |
CircleAnnotation(Page page, Rectangle rect) | Creates new Circle annotation on the specified page. |
Methods
Method | Description |
---|---|
accept(AnnotationSelector visitor) | Accepts visitor object to process the annotation. |
getAnnotationType() | Gets type of annotation. |
CircleAnnotation(IDocument document)
public CircleAnnotation(IDocument document)
Constructor for Circle annotation.
Parameters:
Parameter | Type | Description |
---|---|---|
document | IDocument | Document where annotation will be created. |
CircleAnnotation(Page page, Rectangle rect)
public CircleAnnotation(Page page, Rectangle rect)
Creates new Circle annotation on the specified page.
Parameters:
Parameter | Type | Description |
---|---|---|
page | Page | Document’s page where annotation should be created. |
rect | Rectangle | Required rectangle that sets annotation’s border. |
accept(AnnotationSelector visitor)
public void accept(AnnotationSelector visitor)
Accepts visitor object to process the annotation.
Parameters:
Parameter | Type | Description |
---|---|---|
visitor | AnnotationSelector | Visitor object. |
getAnnotationType()
public AnnotationType getAnnotationType()
Gets type of annotation.
Returns: AnnotationType - AnnotationType element