|
| LedGridDDLayer (int8_t layerId) |
| for internal use only
|
|
void | turnOn (int x=0, int y=0) |
| turn on LED @ (x, y)
|
|
void | turnOff (int x=0, int y=0) |
| turn off LED @ (x, y)
|
|
void | toggle (int x=0, int y=0) |
| toggle LED @ (x, y)
|
|
void | turnOnEx (int x=0, int y=0, const String &onColor="") |
|
void | bitwise (unsigned int bits, int y=0, bool reverse=false) |
|
void | bitwise2 (unsigned int bits_0, unsigned int bits_1, int y=0, bool reverse=false) |
|
void | bitwise3 (unsigned int bits_0, unsigned int bits_1, unsigned int bits_2, int y=0, bool reverse=false) |
|
void | bitwise4 (unsigned int bits_0, unsigned int bits_1, unsigned int bits_2, unsigned int bits_3, int y=0, bool reverse=false) |
|
void | horizontalBar (int count, bool rightToLeft=false) |
|
void | verticalBar (int count, bool bottomToTop=true) |
|
void | horizontalBarEx (int count, int startX=0, const String &color="") |
|
void | verticalBarEx (int count, int startY=0, const String &color="") |
|
void | onColor (const String &color) |
|
void | offColor (const String &color) |
|
void | noOffColor () |
| set no LED off color
|
|
void | border (float size, const String &color, const String &shape="flat", float extraSize=0) |
|
void | noBorder () |
|
void | padding (float size) |
|
void | padding (float left, float top, float right, float bottom) |
|
void | noPadding () |
|
void | margin (float size) |
|
void | margin (float left, float top, float right, float bottom) |
|
void | noMargin () |
|
void | backgroundColor (const String &color, int opacity=100) |
|
void | noBackgroundColor () |
|
void | backgroundImage (const String &backgroundImageName, const String &drawBackgroundOptions, int refImageWidth=0) |
|
void | noBackgroundImage () |
| set no layer background image
|
|
void | exportAsBackgroundImage (bool replace=true, bool noDrawBackground=true, int exportAsWidth=0) |
|
void | animateBackgroundImage (float fps, bool reset=true, const String &options="") |
|
void | stopAnimateBackgroundImage (bool reset=true) |
|
void | visible (bool visible) |
|
void | transparent (bool transparent) |
|
void | disabled (bool disabled=true) |
|
void | opacity (int opacity) |
|
void | alpha (int alpha) |
|
void | blend (const String &color, int alpha=255, const String &mode="darken") |
|
void | noblend () |
|
void | clear () |
| clear the layer
|
|
void | flash () |
| normally used for "feedback" – flash the default way (layer + border)
|
|
void | flashArea (int x, int y) |
| normally used for "feedback" – flash the area (x, y) where the layer is clicked
|
|
void | explicitFeedback (int16_t x=0, int16_t y=0, const String &text="", DDFeedbackType type=DDFeedbackType::CLICK, const String &option="") |
|
const String & | getLayerId () const |
|
void | setFeedbackHandler (DDFeedbackHandler handler, const String &autoFeedbackMethod="", const String &allowFeedbackTypes="") |
|
void | enableFeedback (const String &autoFeedbackMethod="", const String &allowFeedbackTypes="") |
|
void | disableFeedback () |
| disable "feedback"
|
|
const DDFeedback * | getFeedback () |
|
void | debugOnly (int i) |
| for debug use
|
|
DDFeedbackManager * | getFeedbackManager () const |
|
DDFeedbackHandler | getFeedbackHandler () const |
|
Class for LED grid layer; created with DumbDisplay::createLedGridLayer()