com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class CommonFigureAnnotation

  • All Implemented Interfaces:
    com.aspose.ms.System.ICloneable, com.aspose.pdf.engine.ITitledAnnotation
    Direct Known Subclasses:
    CircleAnnotation, SquareAnnotation


    public abstract class CommonFigureAnnotation
    extends MarkupAnnotation

    Abstract class representing common figure annotation.

    • Constructor Detail

      • CommonFigureAnnotation

        public CommonFigureAnnotation(IDocument document)

        Constructor for using in Generator.

        Parameters:
        document - Document where annotation will be placed.
    • Method Detail

      • getInteriorColor

        public Color getInteriorColor()

        Interior color with which to fill the annotation's rectangle or ellipse.

        Returns:
        interior color with which to fill the annotation's rectangle or ellipse.
      • setInteriorColor

        public void setInteriorColor(Color value)

        Interior color with which to fill the annotation's rectangle or ellipse.

        Parameters:
        value - interior color
      • getFrame

        public Rectangle getFrame()

        The rectangle describing the numerical differences between two rectangles: the Rect entry of the annotation and the actual boundaries of the underlying square or circle.

        Returns:
        rectangle frame
      • setFrame

        public void setFrame(Rectangle value)

        The rectangle describing the numerical differences between two rectangles: the Rect entry of the annotation and the actual boundaries of the underlying square or circle.

        Parameters:
        value - rectangle frame