Colors in RGB space.
Definition at line 134 of file Color.h.
#include <Rose/Color.h>
◆ RGB() [1/2]
Rose::Color::RGB::RGB |
( |
| ) |
|
|
inline |
Default constructed color.
Default constructed colors are useful when a color is stored in a container, but should not generally be used otherwise. Therefore, a default constructed color will be bright red as a warning.
Definition at line 142 of file Color.h.
◆ RGB() [2/2]
Construct a color specified by components.
The components should be each be between 0 and 1. Values outside the domain are clipped.
Definition at line 147 of file Color.h.
References Rose::Color::clip().
◆ r()
Component of color.
RGB components are named red
, green
, blue
, and alpha
(or just the first letter of each).
Each component is a floating-point value between zero and one.
Definition at line 159 of file Color.h.
◆ g()
Component of color.
RGB components are named red
, green
, blue
, and alpha
(or just the first letter of each).
Each component is a floating-point value between zero and one.
Definition at line 160 of file Color.h.
◆ b()
Component of color.
RGB components are named red
, green
, blue
, and alpha
(or just the first letter of each).
Each component is a floating-point value between zero and one.
Definition at line 161 of file Color.h.
◆ a()
Component of color.
RGB components are named red
, green
, blue
, and alpha
(or just the first letter of each).
Each component is a floating-point value between zero and one.
Definition at line 162 of file Color.h.
◆ red()
Component of color.
RGB components are named red
, green
, blue
, and alpha
(or just the first letter of each).
Each component is a floating-point value between zero and one.
Definition at line 163 of file Color.h.
◆ green()
Component of color.
RGB components are named red
, green
, blue
, and alpha
(or just the first letter of each).
Each component is a floating-point value between zero and one.
Definition at line 164 of file Color.h.
◆ blue()
Component of color.
RGB components are named red
, green
, blue
, and alpha
(or just the first letter of each).
Each component is a floating-point value between zero and one.
Definition at line 165 of file Color.h.
◆ alpha()
Component of color.
RGB components are named red
, green
, blue
, and alpha
(or just the first letter of each).
Each component is a floating-point value between zero and one.
Definition at line 166 of file Color.h.
The documentation for this class was generated from the following file: