Definition at line 28 of file xmap.h.
|
enum | Type { kLinear = 0
, kReverse
, kFunction
, kLookUpTable
} |
|
◆ Type
◆ XMap() [1/2]
XMap::XMap |
( |
uint16_t | length, |
|
|
bool | is_reverse = false, |
|
|
uint16_t | offset = 0 ) |
|
inline |
◆ XMap() [2/2]
XMap::XMap |
( |
const XMap & | other | ) |
|
|
inline |
◆ constructWithLookUpTable()
static XMap XMap::constructWithLookUpTable |
( |
uint16_t | length, |
|
|
const uint16_t * | lookUpTable, |
|
|
uint16_t | offset = 0 ) |
|
inlinestatic |
◆ constructWithUserFunction()
static XMap XMap::constructWithUserFunction |
( |
uint16_t | length, |
|
|
XFunction | xFunction, |
|
|
uint16_t | offset = 0 ) |
|
inlinestatic |
◆ convertToLookUpTable()
void XMap::convertToLookUpTable |
( |
| ) |
|
|
inline |
◆ getLength()
uint16_t XMap::getLength |
( |
| ) |
const |
|
inline |
◆ getType()
Type XMap::getType |
( |
| ) |
const |
|
inline |
◆ mapToIndex()
uint16_t XMap::mapToIndex |
( |
uint16_t | x | ) |
const |
|
inline |
◆ operator=()
XMap & XMap::operator= |
( |
const XMap & | other | ) |
|
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/FastLED/FastLED/src/xmap.h