Bounds()
Bounds class is used to define a boundary based on bottom left and top right points
| Parameter | Type | Description |
|---|---|---|
| a | Point | The bottom left point |
| b | Point | The top right point |
Bounds's constructor
Extends the current bounds with the given point
Intersects the current bounds with the given bounds without modifying the current bounds
Returns the center of the bounds
Returns the top left point of the bounds
Returns the top right point of the bounds
Returns the bottom left point of the bounds
Returns the bottom right point of the bounds
Returns the width of the bounds
Returns the height of the bounds
Bounds class is used to define a boundary based on bottom left and top right points
| Parameter | Type | Description |
|---|---|---|
| a | Point | The bottom left point |
| b | Point | The top right point |
Extends the current bounds with the given point
| Parameter | Type | Description |
|---|---|---|
| point | Point | The point used to extend the bounds |
Intersects the current bounds with the given bounds without modifying the current bounds
| Parameter | Type | Description |
|---|---|---|
| bounds | Bounds | The bounds used to intersect the current bounds |
Returns the top left point of the bounds
Returns the top right point of the bounds
Returns the bottom left point of the bounds
Returns the bottom right point of the bounds