#include <color.h>
Public Member Functions | |
| constexpr | ColorHSB (Scalar h, Scalar s, Scalar b, Scalar a) |
| Color | ToRGBA () const |
Static Public Member Functions | |
| static ColorHSB | FromRGB (Color rgb) |
Public Attributes | |
| Scalar | hue |
| Scalar | saturation |
| Scalar | brightness |
| Scalar | alpha |
Represents a color by its constituent hue, saturation, brightness and alpha
Definition at line 52 of file color.cc.
References impeller::Color::alpha, impeller::Color::blue, ColorHSB(), impeller::Color::green, and impeller::Color::red.
| Color impeller::ColorHSB::ToRGBA | ( | ) | const |
| Scalar impeller::ColorHSB::alpha |
| Scalar impeller::ColorHSB::brightness |
| Scalar impeller::ColorHSB::hue |
| Scalar impeller::ColorHSB::saturation |