Rect Operators

The Rect type exposes the following members.

Operators
  Name Description
Public operatorStatic member Addition(Rect, Point)
Translate the Rect by adding a vector Point to it.
Public operatorStatic member Addition(Rect, Size)
Translate the Rect by adding a vector Size to it.
Public operatorStatic member Division
Scale the coordinates of the rect by a dividing factor.
Public operatorStatic member Equality
Compare two Rects for equality.
Public operatorStatic member Inequality
Compare two Rects for inequality.
Public operatorStatic member Multiply
Scale the coordinates of the rect by a multiplying factor.
Public operatorStatic member Subtraction
Translate the Rect by subtracting a vector Point from it.
Top
See Also