FastLED 3.10.6
Loading...
Searching...
No Matches

◆ getShape()

const ScreenMap::Shape & fl::ScreenMap::getShape ( u32 index) const

Definition at line 676 of file screenmap.cpp.hpp.

676 {
677 static const Shape emptyShape = [] {
678 Shape shape;
679 shape.type = Shape::EL_PANEL;
680 return shape;
681 }();
682 return index < mShapes.size() ? mShapes[index] : emptyShape;
683}
fl::vector< Shape > mShapes
Definition screenmap.h:145
enum fl::ScreenMap::Shape::Type type

References fl::ScreenMap::Shape::EL_PANEL, fl::FL_NO_EXCEPT, mShapes, and fl::ScreenMap::Shape::type.