MapRectangle Operators |
The MapRectangle type exposes the following members.
Name | Description | |
---|---|---|
Addition |
Translates the rectangle parameter rect horizontally and vertically, if it is not empty. All its boundaries are changed.
| |
BitwiseAnd |
Calculates the result of the intersection of rect1 and rect2.
If one of them is empty, the result is empty as well.
| |
BitwiseOr(MapRectangle, MapRectangle) |
Unifies both rectangles rect1 and rect2.
| |
BitwiseOr(MapRectangle, Point) |
Unifies the rectangle rect and point.
If point has Double.IsNaN coordinates, the resulting rectangle has the same values as rect.
If rect is empty, the boundaries of the resulting rectangle are adapted to the point's coordinates (width and height will be 0).
| |
Equality |
Compares two rectangle instances for exact equality.
| |
Inequality |
Compares two rectangle instances for exact inequality.
| |
Multiply |
Inflates the object horizontally and vertically by specifying two different factors for each dimension.
The width and height of the rectangle is multiplied by these factors.
|