Rectangle Operators and Type Conversions |
The Rectangle type exposes the following members.
| Name | Description | |
|---|---|---|
| Addition(Rectangle, Point) |
Adds the offset to the specified rectangle, moving its location
| |
| Addition(Rectangle, Size) |
Adds the offset to the specified rectangle, moving its location
| |
| Division(Rectangle, Size) |
Divides the specified rectangle by the Width and Height of size | |
| Division(Rectangle, Int32) |
Divides all X, Y, Width, Height components of the rectangle by a factor factor
| |
| Equality |
Compares two rectangles for equality
| |
| (RectangleF to Rectangle) |
Implicit conversion from a RectangleF to a Rectangle | |
| Inequality |
Compares two rectangles for inequality
| |
| Multiply(Rectangle, Size) |
Multiplies the specified rectangle by the Width and Height of size | |
| Multiply(Rectangle, Int32) |
Multiplies all X, Y, Width, Height components of the rectangle by a factor | |
| Subtraction(Rectangle, Point) |
Subtracts the offset from the specified rectangle, moving its location
| |
| Subtraction(Rectangle, Size) |
Subtracts the offset from the specified rectangle, moving its location
|