A newer version of this page is available. Switch to the current version.

MapRectangle Methods

The class used to draw a rectangle on a map.
Name Description
CreateByCenter(MapCoordinateSystem, CoordPoint, Double, Double) static Creates a map rectangle using its center point, width and height.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
ExportToWkt() Exports the map rectangle to the Well-Known Text (WKT) format.
FromLeftTopRightBottom(MapCoordinateSystem, CoordPoint, CoordPoint) static Creates a map rectangle using its top-left and bottom-right points.
GetBounds() Returns information about the map shape bounds. Inherited from MapShape.
GetCenter() Returns a center point of a MapShape class descendant object. Inherited from MapShape.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns the textual representation of MapRectangle.
See Also