Back to Devexpress

MapUnit Members

wpf-devexpress-dot-xpf-dot-map-dot-mapunit-dot-underscore-members.md

latest4.1 KB
Original Source

MapUnit Members

A class that contains a location in internal map units.

Constructors

NameDescription
MapUnit(Double, Double)Initializes a new instance of the MapUnit class with the specified X and Y locations of the map unit.

Properties

NameDescription
XA horizontal coordinate of a MapUnit.
YA vertical coordinate of a MapUnit.

Methods

NameDescription
Equals(MapUnit, MapUnit) staticDetermines whether the two specified MapUnit objects are equal.
Equals(MapUnit)Determines whether the specified object is equal to the current MapUnit instance.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current MapUnit instance.
GetHashCode()Gets the hash code (a number) that corresponds to the value of the current MapUnit object.
GetType()Gets the Type of the current instance. Inherited from Object.
Normalize(MapUnit) staticNormalizes the specified map unit’s coordinates to the range from 0 to 1.
Parse(String) staticConverts the string representation of a map unit to its MapUnit equivalent.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ToString()Returns the textual representation of MapUnit.
ToString(IFormatProvider)Returns the textual representation of MapUnit.

Operators

NameDescription
Equality(MapUnit, MapUnit) staticCompares two MapUnit objects. The result specifies whether these objects are equal.
Implicit(MapUnit to Point) staticConverts the specified MapUnit object to a Point object.
Inequality(MapUnit, MapUnit) staticCompares two MapUnit objects. The result specifies whether these objects are unequal.

See Also

MapUnit Struct

DevExpress.Xpf.Map Namespace