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

NameTypeAccessDescription
xfloatReadGets the x-coordinate of the upper-left corner.
yfloatReadGets the y-coordinate of the upper-left corner.
widthfloatReadGets the width.
heightfloatReadGets the height.

méthodes

SignatureDescription
RectangleF(x: float, y: float, width: float, height: float)Creates a new RectangleF.
getX()floatGets the x-coordinate of the upper-left corner.
getY()floatGets the y-coordinate of the upper-left corner.
getWidth()floatGets the width.
getHeight()floatGets the height.
equals(obj: Object)booleanDetermines whether the given object is equal to this RectangleF
hashCode()intReturns an integer hash code for this RectangleF
toString()StringReturns a string representation of this RectangleF

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français