MAPMASKCOLOR

Top  Previous  Next

Syntax

MAPMASKCOLOR(map as POINTER,col as UINT)

Description

Sets the transparency (mask) color to be used when rendering the map onto the buffer.

Parameters

map - Map pointer returned by the NEWMAP function

col - Mask color.

Return value

None

Remarks

Only used when the maps drawing mode is set to @TRANS.

See Also: NEWMAP, MAPDRAWMODE, DRAWMAP

Example usage

MAPDRAWMODE mymap, @TRANS
MAPMASKCOLOR mymap, RGB(255,0,0)