FastLED 3.9.15
Loading...
Searching...
No Matches
fl::Gradient Class Reference

Detailed Description

Definition at line 16 of file gradient.h.

#include <gradient.h>

+ Collaboration diagram for fl::Gradient:

Public Types

using GradientFunction = fl::function<CRGB(uint8_t index)>
 

Public Member Functions

 Gradient ()=default
 
 Gradient (const Gradient &other)
 
 Gradient (const GradientInlined &other)
 
 Gradient (Gradient &&other) noexcept
 
template<typename T>
 Gradient (T *palette)
 
CRGB colorAt (uint8_t index) const
 
void fill (Slice< const uint8_t > input, Slice< CRGB > output) const
 
Gradientoperator= (const Gradient &other)
 
void set (const CRGBPalette16 *palette)
 
void set (const CRGBPalette256 *palette)
 
void set (const CRGBPalette32 *palette)
 
void set (const GradientFunction &func)
 

Private Types

using GradientVariant
 

Private Attributes

GradientVariant mVariant
 

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