Repository of predefined colors. More...
#include <ilviews/charts/display.h>
Public Member Functions | |
IlvChartDefaultColors (IlvDisplay *display) | |
Constructor. More... | |
IlvColor * | getColor (IlUInt colNb) |
Returns a predefined color by its number. More... | |
IlUInt | getNbColors () const |
Returns the number of predefined colors. More... | |
Repository of predefined colors.
Library: ilvcharts
This class is used to hold some predefined colors that the displayers can use.
IlvChartDefaultColors::IlvChartDefaultColors | ( | IlvDisplay * | display | ) |
Constructor.
Creates and initializes an instance of IlvChartDefaultColors
.
display | The display where the predefined colors are allocated. |
IlUInt IlvChartDefaultColors::getNbColors | ( | ) | const |
Returns the number of predefined colors.