AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgColor::MgColor ( INT16  red,
INT16  green,
INT16  blue 
)

Constructor.

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