GetMapBackground()

Summary

Gets the color and fill style of the map background.

Syntax

background_settings = GetMapBackground(string map_name)

Argument Contents
map_name The name of the map, or null for the current map

Returns

An array of two elements:

Element Type Contents
1 Color The background fill color
2 Fillstyle The background fill style

Error Codes

Error Type Meaning
NotFound There is no map with the specified name, or map_name is null and there is no current map

See Also

Function Summary
SetMapBackground() Changes the background color and fill style of a map