É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
| Name | Type | Access | Description |
|---|---|---|---|
left | float | Read | Gets the x-coordinate of the lower-left corner of the bounding box. |
bottom | float | Read | Gets the y-coordinate of the lower-left corner of the bounding box. |
width | float | Read | Gets the width of the bounding box. |
height | float | Read | Gets the height of the bounding box. |
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 |
|---|---|
Ellipse(left: float, bottom: float, width: float, height: float) | Creates a new ellipse with the specified bounding box. |
getLeft() → float | Gets 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() → float | Gets 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() → float | Gets the width of the bounding box. |
setWidth(width: float) | Sets the width of the bounding box. |
getHeight() → float | Gets the height of the bounding box. |
setHeight(height: float) | Sets the height of the bounding box. |
checkBounds(containerWidth: double, containerHeight: 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