Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ colorAt
Method
colorAt
src/fl/gfx/gradient.cpp.hpp:90–94 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
} // namespace
89
90
CRGB Gradient::colorAt(u8 index) const {
91
Visitor visitor(index);
92
mVariant.visit(visitor);
93
return visitor.return_val;
94
}
95
96
template <typename T> Gradient::Gradient(T *palette) { set(palette); }
97
Callers
1
draw
Method · 0.80
Calls
1
visit
Method · 0.45
Tested by
no test coverage detected