Union determines the union of two rectangles by comparing their components. The lesser x1 and y1 values and greater x2 and y2 values set the new rectangle components.
Parameters |
Description |
T l |
A value that is compared to x1. |
T t |
A value that is compared to y1. |
T r |
A value that is compared to x2. |
T b |
A value that is compared to y2. |
A Rect reference to a new string whose components will reflect the union of itself and another rectangle.