MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
MgColor Class Reference

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

+ Inheritance diagram for MgColor:

List of all members.

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 (CREFSTRING color)
 Constructor.
 MgColor (INT16 red, INT16 green, INT16 blue)
 Constructor.
 MgColor (INT16 red, INT16 green, INT16 blue, INT16 alpha)
 Constructor.

Detailed Description

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