forme
Vue de l’ensemble
‘Shape’ est une classe dans Aspose.PDF FOSS pour Java.
Classes de base abstraites pour toutes les formes d’imagerie dans l’API PDF.
Cette classe fournit 5 méthodes pour travailler avec les objets de forme dans les programmes Java. Les méthodologies disponibles comprennent: ‘checkBounds’, ‘getGraphInfo’, getText', ‘setGrafInFO’, 'setTeXT'. Tous les membres publics sont accessibles à n'importe quelle application Java après l'installation du package Java Aspose.PDF FOSS. Propriétés: graphInFo, 'text.
Propriétés
| 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. |
méthodes
| 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. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise