Represents a rectangle with float coordinates.
from nutrient_sdk.rectf import RectFConstruction
RectF(left: float, top: float, right: float, bottom: float)Fields
| Field | Type | Description |
|---|---|---|
left | float | The left coordinate of the rectangle. |
top | float | The top coordinate of the rectangle. |
right | float | The right coordinate of the rectangle. |
bottom | float | The bottom coordinate of the rectangle. |
Usage Example
from nutrient_sdk.rectf import RectF
value = RectF(left=36.0, top=72.0, right=288.0, bottom=144.0)