Stores Colors as floating point in the RGBA format. More...
#include <Color.hpp>
Public Member Functions | |
| RGBA_Float (float r_, float g_, float b_, float a_) | |
| Creates an RGBA object with the specified values. | |
| RGBA_Float (const Color &c) | |
| Creates an RGBA object from a Color object. | |
| operator Color () const | |
| Converts to a Color object. | |
Public Attributes | |
| float | r |
| Red color component. | |
| float | g |
| Green color component. | |
| float | b |
| Blue color component. | |
| float | a |
| Alpha (transparency) component. | |
Stores Colors as floating point in the RGBA format.
| a5::RGBA_Float::RGBA_Float | ( | float | r_, | |
| float | g_, | |||
| float | b_, | |||
| float | a_ | |||
| ) |
Creates an RGBA object with the specified values.
| float a5::RGBA_Float::r |
Red color component.
| float a5::RGBA_Float::g |
Green color component.
| float a5::RGBA_Float::b |
Blue color component.
| float a5::RGBA_Float::a |
Alpha (transparency) component.
1.7.1