@technobuddha > library > Geometry > Rectangle
Type Alias: Rect
ts
type Rect = Cartesian & {
height: number;
width: number;
};Defined in: @types/geometry.ts:60
A rectangle (defined by its top-left corner, width and height)
Type Declaration
| Name | Type | Description | Defined in |
|---|---|---|---|
height | number | The height of the rectangle. | src/@types/geometry.ts:64 |
width | number | The width of the rectangle. | src/@types/geometry.ts:62 |