Ligne
Vue de l’ensemble
‘Line’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: Shape.
Il représente une ligne (ou polyline) de dessin.
Cette classe fournit 8 méthodes pour travailler avec les objets de ligne dans les programmes Java. Les méthodologies disponibles comprennent: ‘Line’, ‘checkBounds’, getGraphInfo', ‘getPositionArray’, 'getText', ’setGrafInFO', ‚setPozition Array, ‘setTeXT’. Tous les membres publics sont accessibles à toute application Java après l’installation du package Java Aspose.PDF FOSS. Propriétés: graphIninfo , ‘positionArry` et ’text’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
positionArray | float[] | Read | Gets the position array of alternating x,y coordinate pairs. |
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 |
|---|---|
Line(positionArray: float[]) | Creates a new line with the specified position array. |
getPositionArray() → float[] | Gets the position array of alternating x,y coordinate pairs. |
setPositionArray(positionArray: float[]) | Sets the position array of alternating x,y coordinate pairs. |
checkBounds(width: double, height: double) | {@inheritDoc} |
| / | |
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. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise