VMColor Class Reference

This static class provides a way to obtain colors in a Color structure.


typedef struct
{
   TUInt16 r;
   TUInt16 g;
   TUInt16 b;
} Color;


Example of usage: Color c = CLAM::VM::VMColor::Black();
#include "VMColor.hxx"
 

Related Functions



Function Documentation

Color VMColor::Black()
Returns the black color in a Color structure.
Color VMColor::Blue()
Returns the blue color in a Color structure.
Color VMColor::Brown()
Returns the brown color in a Color structure.
Color VMColor::Cyan()
Returns the cyan color in a Color structure.
Color VMColor::Gray()
Returns the gray color in a Color structure.
Color VMColor::Green()
Returns the green color in a Color structure.
Color VMColor::LightGray()
Returns the lightgray color in a Color structure.
Color VMColor::Magenta()
Returns the magenta color in a Color structure.
Color VMColor::Orange()
Returns the orange color in a Color structure.
Color VMColor::White()
Returns the white color in a Color structure.
Color VMColor::Yellow()
Returns the yellow color in a Color structure.
Color Custom(TUInt16 r, TUInt16 g, TUInt16 b)
Returns a custom color with components r,g,b (0..255) in a Color structure.