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

Constructor.

.NET Syntax
MgColor(short red, short green, short blue);
Java Syntax
MgColor(short red, short green, short blue);
PHP Syntax
MgColor(int red, int green, int blue);
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.
Returns:
Nothing