xlnt
|
An indexed color encapsulates a simple index to a color in the indexedColors of the stylesheet. More...
#include <color.hpp>
Public Member Functions | |
indexed_color (std::size_t index) | |
Constructs an indexed_color from an index. More... | |
std::size_t | index () const |
Returns the index this color points to. More... | |
void | index (std::size_t index) |
Sets the index to index. More... | |
An indexed color encapsulates a simple index to a color in the indexedColors of the stylesheet.
xlnt::indexed_color::indexed_color | ( | std::size_t | index | ) |
Constructs an indexed_color from an index.
std::size_t xlnt::indexed_color::index | ( | ) | const |
Returns the index this color points to.
void xlnt::indexed_color::index | ( | std::size_t | index | ) |
Sets the index to index.