Map.Map

Map constructor

Creates new instance of the Map class.

public Map(Measurement width, Measurement height)
ParameterTypeDescription
widthMeasurementWidth of the map.
heightMeasurementHeight of the map.

Exceptions

exceptioncondition
ArgumentExceptionUnit of width or height is MapUnits.
ArgumentOutOfRangeExceptionWidth or height is negative or zero.

See Also