Cirque

Vue de l’ensemble

‘Circle’ est une classe dans Aspose.PDF FOSS pour Java.Déduit de: Shape.

Il représente une forme de dessin en cercle.

Cette classe fournit 12 méthodes pour travailler avec des objets Circle dans les programmes Java. Les méthodologies disponibles comprennent: ‘Circle’, ‘checkBounds’, getGraphInfo', ‘getPosX’, 'getRadius', ’getText', ‚setGrafInFO',‘setPOSX, ‘set PoseY , ' setRadio et ‘settTeXT’. Tous les membres publics sont accessibles à toute application Java après l’installation de l’Aspose.PDF FOSS pour le package Java . Propriétés : ‘graphInf’, ‘‘posX’ et ‘‘Ypos’,‘‘radius`.

Propriétés

NameTypeAccessDescription
posXfloatReadGets the x-coordinate of the center.
posYfloatReadGets the y-coordinate of the center.
radiusfloatReadGets the radius.
graphInfoGraphInfoReadGets the graphic styling properties for this shape.
textStringReadGets the optional text label associated with this shape.

méthodes

SignatureDescription
Circle(posX: float, posY: float, radius: float)Creates a new circle with the specified center and radius.
getPosX()floatGets the x-coordinate of the center.
setPosX(posX: float)Sets the x-coordinate of the center.
getPosY()floatGets the y-coordinate of the center.
setPosY(posY: float)Sets the y-coordinate of the center.
getRadius()floatGets the radius.
setRadius(radius: float)Sets the radius.
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