MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgColor::MgColor ( INT16  red,
INT16  green,
INT16  blue,
INT16  alpha 
)

Constructor.

.NET Syntax
MgColor(short red, short green, short blue, short alpha);
Java Syntax
MgColor(short red, short green, short blue, short alpha);
PHP Syntax
MgColor(int red, int green, int blue, int alpha);
Parameters:
red(short/int) Red value. This value must be in the range of 0 to 255 inclusive.
green(short/int) Green value. This value must be in the range of 0 to 255 inclusive.
blue(short/int) Blue value. This value must be in the range of 0 to 255 inclusive.
alpha(short/int) Alpha value
Returns:
Nothing