|
Enrollment 28.2.0
|
#include <ImageAttribute.h>
Public Member Functions | |
| void | WriteTo (Writer &writer) const final |
| Write itself into writer. | |
Public Attributes | |
| unsigned char | red = 0 |
| Red value of RGB color model. The value is in range <0,255>. | |
| unsigned char | green = 0 |
| Green value of RGB color model. The value is in range <0,255>. | |
| unsigned char | blue = 0 |
| Blue value of RGB color model. The value is in range <0,255>. | |
It holds RGB colors.
The RGB colour model is an additive color model in which the red, green and blue primary colors of light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green, and blue. The main purpose of the RGB color model is for the sensing, representation, and display of images in electronic systems, such as televisions and computers, though it has also been used in conventional photography. Before the electronic age, the RGB color model already had a solid theory behind it, based in human perception of colors. [17]
|
inlinefinalvirtual |
Write itself into writer.
| writer | Writer to use to serialize this Serializable |
Implements Serializable.