MapRectangle Properties |
The MapRectangle type exposes the following members.
Name | Description | |
---|---|---|
Center |
Gets or sets the center of the rectangle. If the rectangle is empty, the point (Double.NaN, Double.NaN) is returned.
If the center is set to an empty rectangle, the value becomes the new center, the width and height of the rectangle are
set to 0. If the rectangle was not empty, the center is changed, but the width and height remain unchanged.
| |
East | ||
Height |
Gets or sets the height of the rectangle. If the height is set, the rectangle's center remains the same.
| |
IsEmpty |
Gets a value indicating whether the rectangle is empty. This is true,
if the width or height value is lower 0.
| |
North | ||
NorthEast |
Gets the NorthEast point of the rectangle.
| |
NorthWest |
Gets the NorthWest point of the rectangle.
| |
South | ||
SouthEast |
Gets the SouthEast point of the rectangle.
| |
SouthWest |
Gets the SouthWest point of the rectangle.
| |
West | ||
Width |
Gets or sets the width of the rectangle. If the width is set, the rectangle's center remains the same.
|