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
Constructor | Description |
---|---|
CommonFigureAnnotation(IDocument document) | Constructor for using in Generator. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
document | IDocument | Document 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:
Parameter | Type | Description |
---|---|---|
value | Color | 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 - 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:
Parameter | Type | Description |
---|---|---|
value | Rectangle | rectangle frame |