RectangleF
Overview
RectangleF is a class in Aspose.Slides FOSS for Java.
Represents a rectangle defined by position and size using floating-point coordinates.
Properties
| 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. |
Methods
| 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 |