CommonFigureAnnotation

Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph, com.aspose.pdf.Annotation, com.aspose.pdf.MarkupAnnotation

public abstract class CommonFigureAnnotation extends MarkupAnnotation

Abstract class representing common figure annotation.

Constructors

ConstructorDescription
CommonFigureAnnotation(IDocument document)Constructor for using in Generator.

Methods

MethodDescription
getInteriorColor()Interior color with which to fill the annotation’s rectangle or ellipse.
setInteriorColor(Color value)Interior color with which to fill the annotation’s rectangle or ellipse.
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.
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.

CommonFigureAnnotation(IDocument document)

public CommonFigureAnnotation(IDocument document)

Constructor for using in Generator.

Parameters:

ParameterTypeDescription
documentIDocumentDocument where annotation will be placed.

getInteriorColor()

public Color getInteriorColor()

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

Returns: Color - interior color with which to fill the annotation’s rectangle or ellipse.

setInteriorColor(Color value)

public void setInteriorColor(Color value)

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

Parameters:

ParameterTypeDescription
valueColorinterior 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 - rectangle frame

setFrame(Rectangle value)

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:

ParameterTypeDescription
valueRectanglerectangle frame