Click or drag to resize

MapRectangle Constructor (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.

Namespace:  Ptv.XServer.Controls.Map
Assembly:  Ptv.XServer.Controls.Map (in Ptv.XServer.Controls.Map.dll) Version: 1.7.10.0
Syntax
public MapRectangle(
	IEnumerable<Point> points
)

Parameters

points
Type: System.Collections.GenericIEnumerablePoint
Enumeration of points, which are included in the new instance in a minimal way. An enumeration with no points results in an empty rectangle.
See Also