Shape
Overview
Shape is a class in Aspose.Pdf FOSS for Java.
Abstract base class for all drawing shapes in the PDF drawing API.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
graphInfo | GraphInfo | Read | Gets the graphic styling properties for this shape. |
text | String | Read | Gets the optional text label associated with this shape. |
Methods
| Signature | Description |
|---|---|
getGraphInfo() → GraphInfo | Gets the graphic styling properties for this shape. |
setGraphInfo(graphInfo: GraphInfo) | Sets the graphic styling properties for this shape. |
getText() → String | Gets the optional text label associated with this shape. |
setText(text: String) | Sets the optional text label associated with this shape. |
checkBounds(width: double, height: double) | Checks whether this shape fits within the specified container bounds. |