MapRectangle Constructor |
Name | Description | |
---|---|---|
MapRectangle |
Initializes a new instance of the MapRectangle class, by setting all boundaries to an empty state.
This approach is helpful, when Point objects are inserted by the Union methods.
| |
MapRectangle(IEnumerablePoint) |
Initializes a new instance of the MapRectangle class. The resulting object represents the smallest rectangle
containing all points provided by the point enumeration, i.e. the new object represents the minimal bounding rectangle
of the point collection. The ordering of the points inside the enumeration has no influence on the result.
| |
MapRectangle(Point) | ||
MapRectangle(Rect) |
Initializes a new instance of the MapRectangle class, by transforming the location and size of parameter
rect into boundaries of the new instance.
| |
MapRectangle(MapRectangle) |
Initializes a new instance of the MapRectangle class, by copying the boundaries of parameter
originalRectangle.
| |
MapRectangle(Point, Point) |
Initializes a new instance of the MapRectangle class. The resulting object represents the smallest rectangle
containing both points, i.e. both points define the boundaries directly. The ordering of the parameters has no influence on the result.
| |
MapRectangle(Point, Size) |
Initializes a new instance of the MapRectangle class. The resulting object is defined by the center
and sizeparameter.
| |
MapRectangle(Double, Double, Double, Double) |
Initializes a new instance of the MapRectangle class, by setting the boundaries directly. No checks are made
for avoiding a lower east value compared to the west value. The same is true for the
north/south pair.
|