com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class CircleAnnotation

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable, com.aspose.pdf.engine.ITitledAnnotation


    public final class CircleAnnotation
    extends CommonFigureAnnotation

    Class representing Circle annotation.

    • Constructor Detail

      • CircleAnnotation

        public CircleAnnotation(IDocument document)

        Constructor for Circle annotation.

        Parameters:
        document - Document where annotation will be created.
      • CircleAnnotation

        public CircleAnnotation(Page page,
                                Rectangle rect)

        Creates new Circle annotation on the specified page.

        Parameters:
        page - Document's page where annotation should be created.
        rect - Required rectangle that sets annotation's border.
    • Method Detail

      • accept

        public void accept(AnnotationSelector visitor)

        Accepts visitor object to process the annotation.

        Specified by:
        accept in class Annotation
        Parameters:
        visitor - Visitor object.
      • getAnnotationType

        public int getAnnotationType()

        Gets type of annotation.

        Specified by:
        getAnnotationType in class Annotation
        Returns:
        AnnotationType element
        See Also:
        AnnotationType