xlnt
Public Member Functions | List of all members
xlnt::indexed_color Class Reference

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...
 

Detailed Description

An indexed color encapsulates a simple index to a color in the indexedColors of the stylesheet.

Constructor & Destructor Documentation

◆ indexed_color()

xlnt::indexed_color::indexed_color ( std::size_t  index)

Constructs an indexed_color from an index.

Member Function Documentation

◆ index() [1/2]

std::size_t xlnt::indexed_color::index ( ) const

Returns the index this color points to.

◆ index() [2/2]

void xlnt::indexed_color::index ( std::size_t  index)

Sets the index to index.


The documentation for this class was generated from the following file: