#include <format.h>
Public Member Functions | |
| Color () | |
| Color (const Color &c) | |
| Color (unsigned r, unsigned g, unsigned b) | |
| Color (const char *c) | |
Public Attributes | |
| unsigned | red |
| unsigned | green |
| unsigned | blue |
Friends | |
| bool | operator== (const Color &c1, const Color &c2) |
| bool | operator!= (const Color &c1, const Color &c2) |
Detailed Description
Provides color based on RGB values.
Class Color provides color based on terms of RGB (red, green and blue) components.
Definition at line 37 of file kspread/excel/sidewinder/format.h.
Constructor & Destructor Documentation
◆ Color() [1/4]
|
inline |
Constructs a default color with the RGB value (0, 0, 0), i.e black.
Definition at line 46 of file kspread/excel/sidewinder/format.h.
◆ Color() [2/4]
|
inline |
Creates a copy of another color.
Definition at line 51 of file kspread/excel/sidewinder/format.h.
◆ Color() [3/4]
|
inline |
Creates a color based on given red, green and blue values.
Definition at line 57 of file kspread/excel/sidewinder/format.h.
◆ Color() [4/4]
|
inline |
Creates a color based on given red, green and blue values, encoded as #RRGGBB in a string.
Definition at line 63 of file kspread/excel/sidewinder/format.h.
Friends And Related Symbol Documentation
◆ operator!=
Returns true if c1 is not equal to c2; otherwise returns false.
Definition at line 79 of file kspread/excel/sidewinder/format.h.
◆ operator==
Returns true if c1 is equal to c2; otherwise returns false.
Definition at line 73 of file kspread/excel/sidewinder/format.h.
Member Data Documentation
◆ blue
| unsigned Swinder::Color::blue |
Definition at line 41 of file kspread/excel/sidewinder/format.h.
◆ green
| unsigned Swinder::Color::green |
Definition at line 41 of file kspread/excel/sidewinder/format.h.
◆ red
| unsigned Swinder::Color::red |
Definition at line 41 of file kspread/excel/sidewinder/format.h.
The documentation for this class was generated from the following file:
