Aria  2.8.0
ArColor Class Reference

A class for holding color information for ArDrawingData. More...

#include <ArDrawingData.h>

Public Member Functions

 ArColor (unsigned char red, unsigned char green, unsigned char blue)
 Constructor (colors use full range of 0-255)
 
 ArColor ()
 Constructor.
 
 ArColor (ArTypes::Byte4 rgbValue)
 Constructs a color from the given RGB value.
 
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
 

Detailed Description

A class for holding color information for ArDrawingData.


The documentation for this class was generated from the following file: