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

NameTypeAccessDescription
graphInfoGraphInfoReadGets the graphic styling properties for this shape.
textStringReadGets the optional text label associated with this shape.

méthodes

SignatureDescription
getGraphInfo()GraphInfoGets the graphic styling properties for this shape.
setGraphInfo(graphInfo: GraphInfo)Sets the graphic styling properties for this shape.
getText()StringGets 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
 Français