CircleAnnotation

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

ConstructorDescription
CircleAnnotation(IDocument document)Constructor for Circle annotation.
CircleAnnotation(Page page, Rectangle rect)Creates new Circle annotation on the specified page.

Methods

MethodDescription
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:

ParameterTypeDescription
documentIDocumentDocument 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:

ParameterTypeDescription
pagePageDocument’s page where annotation should be created.
rectRectangleRequired rectangle that sets annotation’s border.

accept(AnnotationSelector visitor)

public void accept(AnnotationSelector visitor)

Accepts visitor object to process the annotation.

Parameters:

ParameterTypeDescription
visitorAnnotationSelectorVisitor object.

getAnnotationType()

public AnnotationType getAnnotationType()

Gets type of annotation.

Returns: AnnotationType - AnnotationType element