25namespace utility::graphic
27 std::ostream &operator<<(std::ostream &stream,
const Color32Bit &color)
29 stream <<
"Color32Bit(" <<
static_cast<int>(color.
getRed()) <<
", "
30 <<
static_cast<int>(color.
getGreen()) <<
", "
31 <<
static_cast<int>(color.
getBlue()) <<
", "
32 <<
static_cast<int>(color.
getAlpha()) <<
")";
36 std::ostream &operator<<(std::ostream &stream,
const ColorFloat &color)
38 stream <<
"ColorFloat(" << color.
getRed() <<
", " << color.
getGreen()
43 std::ostream &operator<<(std::ostream &stream,
const ColorDouble &color)
45 stream <<
"ColorDouble(" << color.
getRed() <<
", " << color.
getGreen()
Type getAlpha(void) const
Get the alpha (opacity) component.
Type getRed(void) const
Get the red component.
Type getGreen(void) const
Get the green component.
Type getBlue(void) const
Get the blue component.
RGBA color representation with blending and manipulation operations.