Élipse

Vue de l’ensemble

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

Il représente une forme de dessin d’éllipse.

Cette classe fournit 14 méthodes pour travailler avec les objets Ellipse dans les programmes Java. Les méthodologies disponibles comprennent: ‘Ellipte’, ‘checkBounds’, getBottom', ‘getGraphInfo’, 'getHeight', ’getLeft', ‚getText', ''getWidth', ‘’setB bottom, setGrafInFO , setHeigh',''setLeft et 2 méthode supplémentaires. 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 : ‘bottom ; 'graphInf', "height; ’left,, 'text.

Propriétés

NameTypeAccessDescription
leftfloatReadGets the x-coordinate of the lower-left corner of the bounding box.
bottomfloatReadGets the y-coordinate of the lower-left corner of the bounding box.
widthfloatReadGets the width of the bounding box.
heightfloatReadGets the height of the bounding box.
graphInfoGraphInfoReadGets the graphic styling properties for this shape.
textStringReadGets the optional text label associated with this shape.

méthodes

SignatureDescription
Ellipse(left: float, bottom: float, width: float, height: float)Creates a new ellipse with the specified bounding box.
getLeft()floatGets the x-coordinate of the lower-left corner of the bounding box.
setLeft(left: float)Sets the x-coordinate of the lower-left corner of the bounding box.
getBottom()floatGets the y-coordinate of the lower-left corner of the bounding box.
setBottom(bottom: float)Sets the y-coordinate of the lower-left corner of the bounding box.
getWidth()floatGets the width of the bounding box.
setWidth(width: float)Sets the width of the bounding box.
getHeight()floatGets the height of the bounding box.
setHeight(height: float)Sets the height of the bounding box.
checkBounds(containerWidth: double, containerHeight: 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