plugin  0.1.0
Public Member Functions | List of all members
Color Class Reference

A Color class stores channels of a given color. More...

#include <common.hpp>

Public Member Functions

 Color (unsigned char r, unsigned char g, unsigned char b)
 
unsigned char red () const
 
unsigned char blue () const
 
unsigned char green () const
 

Detailed Description

A Color class stores channels of a given color.

Constructor & Destructor Documentation

◆ Color()

Color::Color ( unsigned char  r,
unsigned char  g,
unsigned char  b 
)
inline

A default constructor.

Parameters
r- value for red channel
g- value for green channel
b- value for blue channel

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