Aria: ArColor Class Reference

- Main Page
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# 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:

- ArDrawingData.h