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

NameTypeAccessDescription
positionArrayfloat[]ReadGets the position array of alternating x,y coordinate pairs.
graphInfoGraphInfoReadGets the graphic styling properties for this shape.
textStringReadGets the optional text label associated with this shape.

méthodes

SignatureDescription
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()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.

Voir aussi

  • Aspose.PDF pour Java — API d’entreprise
 Français