AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgColor Class Reference
[MgColor]

Inherits MgSerializable.

List of all members.


Detailed Description

This class stores Alpha, Red, Green and Blue component of a Color.

Public Member Functions

INT16 GetAlpha ()
 
INT16 GetBlue ()
 
STRING GetColor ()
 Returns Color specified as 0xRRGGBBAA RR - Red component GG - Green component BB - Blue Component AA - Alpha component (optional).
INT16 GetGreen ()
 
INT16 GetRed ()
 
 MgColor (INT16 red, INT16 green, INT16 blue, INT16 alpha)
 Constructor.
 MgColor (INT16 red, INT16 green, INT16 blue)
 Constructor.
 MgColor (CREFSTRING color)
 Constructor.