Public Member Functions | Static Public Member Functions | Public Attributes

Color Class Reference

#include <Color.hpp>

List of all members.

Public Member Functions

 Color (int r, int g, int b, int a=255)
 Color (float r, float g, float b, float a=1.0f)
ColortoHSV (void)
virtual ~Color (void)

Static Public Member Functions

static ColorfromHSV (float h, float s, float v)

Public Attributes

float R
float G
float B
float A

Constructor & Destructor Documentation

Color::Color ( int  r,
int  g,
int  b,
int  a = 255 
) [inline]
Color::Color ( float  r,
float  g,
float  b,
float  a = 1.0f 
) [inline]
virtual Color::~Color ( void   ) [inline, virtual]

Member Function Documentation

static Color* Color::fromHSV ( float  h,
float  s,
float  v 
) [inline, static]
Color* Color::toHSV ( void   ) [inline]

Member Data Documentation

float Color::A
float Color::B
float Color::G
float Color::R

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