Skip to main content

MapSize Members

Specifies the map size.

Constructors

Name Description
MapSize(Double, Double) Initializes a new instance of the MapSize class with the specified width and height.

Fields

Name Description
Empty static Represents an empty map size that corresponds to the zero value.

Properties

Name Description
Height Gets or sets the map’s height.
IsEmpty Gets a value that indicates whether this MapSize object’s coordinates are initialized.
Width Gets or sets the map’s width.

Methods

Name Description
Equals(MapSize, MapSize) static Determines whether the two specified MapSize objects are equal.
Equals(MapSize) Indicates whether the current object is equal to another object of the MapSize 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 MapSize instance.
GetHashCode() Gets the hash code (a number) that corresponds to the value of the current MapSize object.
GetType() Gets the Type of the current instance. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object.
See Also