Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

ArColor Class Reference

#include <ArDrawingData.h>

List of all members.


Detailed Description

A class for holding color information for ArDrawingData.


Public Member Functions

 ArColor (ArTypes::Byte4 rgbValue)
 Constructs a color from the given RGB value.
 ArColor ()
 Constructor.
 ArColor (unsigned char red, unsigned char green, unsigned char blue)
 Constructor (colors use full range of 0-255).
ArTypes::Byte4 colorToByte4 (void)
 Gets the color in a byte 4 for putting into a buffer.
unsigned char getBlue (void)
 Gets the blue value (uses full range of 0-255).
unsigned char getGreen (void)
 Gets the green value (uses full range of 0-255).
unsigned char getRed (void)
 Gets the red value (uses full range of 0-255).
virtual ~ArColor ()
 Destructor.

Protected Attributes

unsigned char myBlue
unsigned char myGreen
unsigned char myRed


The documentation for this class was generated from the following file:
Generated on Thu Jan 7 10:34:40 2010 for Aria by  doxygen 1.4.2