Rect Operators

Rect Operators
Operators
Operator 
Description 
!= 
Determines the inequality of two rectangles. 
&= 
Determines the intersection of two rectangles. 
|= 
Determines the union of two rectangles. 
+= 
Offsets a rectangle positively (towards the bottom right-most corner). 
= 
Sets the x1, y1, x2, and y2 components of the local rectangle. 
-= 
Offsets a rectangle negatively (towards the top left-most corner). 
== 
Determines the equality of two rectangles. 
- 
Negates the rectangle. 
& 
Determines the intersection of two rectangles. 
| 
Determines the union of two rectangles. 
+ 
Determines the union of two rectangles. 
+ 
Offsets a rectangle positively (towards the bottom right-most corner).