Public Member Functions

Swift::WhiteboardColor Class Reference

List of all members.

Public Member Functions

 WhiteboardColor ()
 WhiteboardColor (int red, int green, int blue, int alpha=255)
 WhiteboardColor (const std::string &hex)
std::string toHex () const
int getRed () const
int getGreen () const
int getBlue () const
int getAlpha () const
void setAlpha (int alpha)

Detailed Description

Definition at line 14 of file WhiteboardColor.h.


Constructor & Destructor Documentation

Swift::WhiteboardColor::WhiteboardColor (  ) 
Swift::WhiteboardColor::WhiteboardColor ( int  red,
int  green,
int  blue,
int  alpha = 255 
)
Swift::WhiteboardColor::WhiteboardColor ( const std::string &  hex  ) 

Member Function Documentation

int Swift::WhiteboardColor::getAlpha (  )  const
int Swift::WhiteboardColor::getBlue (  )  const
int Swift::WhiteboardColor::getGreen (  )  const
int Swift::WhiteboardColor::getRed (  )  const
void Swift::WhiteboardColor::setAlpha ( int  alpha  ) 
std::string Swift::WhiteboardColor::toHex (  )  const