Click or drag to resize

MapRectangle Properties

The MapRectangle type exposes the following members.

Properties
  NameDescription
Public propertyCenter
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.
Public propertyEast
Gets or sets the East boundary of the rectangle. The rectangle is empty, if the value is lower than the West boundary value. No checks are made to avoid a lower value compared to the West boundary.
Public propertyHeight
Gets or sets the height of the rectangle. If the height is set, the rectangle's center remains the same.
Public propertyIsEmpty
Gets a value indicating whether the rectangle is empty. This is true, if the width or height value is lower 0.
Public propertyNorth
Gets or sets the North boundary of the rectangle. The rectangle is empty, if the value is lower than the South boundary value. No checks are made to avoid a higher value compared to the South boundary.
Public propertyNorthEast
Gets the NorthEast point of the rectangle.
Public propertyNorthWest
Gets the NorthWest point of the rectangle.
Public propertySouth
Gets or sets the South boundary of the rectangle. The rectangle is empty, if the value is higher than the North boundary value. No checks are made to avoid a higher value compared to the North boundary.
Public propertySouthEast
Gets the SouthEast point of the rectangle.
Public propertySouthWest
Gets the SouthWest point of the rectangle.
Public propertyWest
Gets or sets the West boundary of the rectangle. The rectangle is empty, if the value is higher than the East boundary value. No checks are made to avoid a higher value compared to the East boundary.
Public propertyWidth
Gets or sets the width of the rectangle. If the width is set, the rectangle's center remains the same.
Top
See Also