XX CMake Package
Loading...
Searching...
No Matches
XX::Rainbow Class Reference

generate a rainbow of colors More...

#include <XXRainbow.h>

Detailed Description

generate a rainbow of colors

Public Member Functions

 Rainbow (quint64 maxIndex, quint16 shade=200)
const quint64 & getMaxIndex () const
void changeShade (quint16 shade)
QColor getColor (const quint64 offset=0)
QColor advanceColor (const quint64 &offset=1)
QColor lookup (const quint64 &value, bool wrap)

Constructor & Destructor Documentation

◆ Rainbow()

XX::Rainbow::Rainbow ( quint64 maxIndex,
quint16 shade = 200 )

Member Function Documentation

◆ advanceColor()

QColor XX::Rainbow::advanceColor ( const quint64 & offset = 1)

◆ changeShade()

void XX::Rainbow::changeShade ( quint16 shade)

◆ getColor()

QColor XX::Rainbow::getColor ( const quint64 offset = 0)

◆ getMaxIndex()

const quint64 & XX::Rainbow::getMaxIndex ( ) const

◆ lookup()

QColor XX::Rainbow::lookup ( const quint64 & value,
bool wrap )

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