Web API Reference MapGuide Open Source

MgColor Class Reference
[MgColor]

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

Inherits MgSerializable.

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

Detailed Description

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

Comments or suggestions? Send us feedback.