Skip to main content

MapPoint Members

The screen coordinates of a map point.

Constructors

Name Description
MapPoint(Double, Double) Initializes a new instance of the MapPoint class with the specified X and Y locations of the map point.

Fields

Name Description
Empty static Represents a map point with zero coordinates.

Properties

Name Description
IsEmpty Gets a value that indicates whether this MapPoint object’s coordinates are initialized.
X A horizontal coordinate of a MapPoint.
Y A vertical coordinate of a MapPoint.

Methods

Name Description
Equals(MapPoint, MapPoint) static Determines whether the two specified MapPoint objects are equal.
Equals(MapPoint) Indicates whether the current object is equal to another object of the MapPoint type.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current MapPoint instance.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current MapPoint object.
GetType() Gets the Type of the current instance. Inherited from Object.
Normalize(MapPoint) static Normalizes the specified map point’s coordinates to the range from 0 to 1.
Parse(String) static Converts the string representation of a map point to its MapPoint equivalent.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToPoint() Converts a MapPoint to a point.
ToPointF() Converts a MapPoint to a floating point.
ToString() Returns the textual representation of MapPoint.
ToString(IFormatProvider) Returns the textual representation of MapPoint.
See Also