MCPcopy Create free account
hub / github.com/FastLED/FastLED / fill

Method fill

src/fl/gfx/leds.h:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 operator const CRGB *() const { return mLeds.data(); }
45
46 void fill(const CRGB &color) {
47 for (fl::size i = 0; i < mXyMap.getTotal(); ++i) {
48 mLeds[i] = color;
49 }
50 }
51
52
53

Callers 7

clearFunction · 0.45
flushMethod · 0.45
clearTextureMethod · 0.45
updateCanvasMethod · 0.45
createFrequencyBinsFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls 1

getTotalMethod · 0.80

Tested by

no test coverage detected