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

Method draw

tests/fl/fx/2d/blend.hpp:29–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 fl::string fxName() const override { return "SolidColorFx2d"; }
28
29 void draw(fl::Fx::DrawContext context) override {
30 for (uint16_t i = 0; i < mXyMap.getTotal(); i++) {
31 context.leds[i] = mColor;
32 }
33 }
34
35 private:
36 CRGB mColor;

Callers

nothing calls this directly

Calls 1

getTotalMethod · 0.80

Tested by

no test coverage detected