RectangleF
Vue de l’ensemble
‘RectangleF’ est une classe dans Aspose.Slides FOSS pour Java.
Il représente un rectangle défini par position et taille en utilisant les coordonnées de point flottant.
Cette classe fournit 8 méthodes pour travailler avec des objets RectangleF dans les programmes Java. Les méthodologies disponibles comprennent: ‘RectANGle F’, ’equals’, getHeight', ‘getWidth’, 'getX, ‘GetY’, ’hashCode et 'toString'. Tous les membres publics sont accessibles à n'importe quelle application Java après l'installation de l’Aspose.Slides FOSS pour le package Java . Propriétés : 'height , ‘width ; 'x; ‘y`.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
x | float | Read | Gets the x-coordinate of the upper-left corner. |
y | float | Read | Gets the y-coordinate of the upper-left corner. |
width | float | Read | Gets the width. |
height | float | Read | Gets the height. |
méthodes
| Signature | Description |
|---|---|
RectangleF(x: float, y: float, width: float, height: float) | Creates a new RectangleF. |
getX() → float | Gets the x-coordinate of the upper-left corner. |
getY() → float | Gets the y-coordinate of the upper-left corner. |
getWidth() → float | Gets the width. |
getHeight() → float | Gets the height. |
equals(obj: Object) → boolean | Determines whether the given object is equal to this RectangleF |
hashCode() → int | Returns an integer hash code for this RectangleF |
toString() → String | Returns a string representation of this RectangleF |
Voir aussi
- Aspose.Slides - référence API d’entreprise