globalmapper.toRGBA

globalmapper.toRGBA(uint8 r, uint8 g, uint8 b, uint8 a) COLORREF[source]

Creates a COLORREF based on a four-integer RGBA input.

Parameters:
  • r (unit8) – Red value

  • g (uint8) – Green value

  • b (uint8) – Blue value

  • a (uint8) – Alpha value

Returns:

A COLORREF object equivalent to the given RGBA value

Return type:

COLORREF