Base class for EyeLights LED glasses. Holds a few items that are common to direct or buffered instances.
More...
#include <Adafruit_IS31FL3741.h>
|
GFXcanvas16 * | canvas = NULL |
| Pointer to GFX canvas.
|
|
Base class for EyeLights LED glasses. Holds a few items that are common to direct or buffered instances.
◆ Adafruit_EyeLights_Base()
Adafruit_EyeLights_Base::Adafruit_EyeLights_Base |
( |
bool |
withCanvas | ) |
|
|
inline |
Constructor for Adafruit_EyeLights_Base object. This is used internally by the library, not user code.
- Parameters
-
withCanvas | true to also allocate a 3X size GFXcanvas16 object (can be used for antialiasing via the smooth() function), false for normal direct-to-matrix drawing. |
◆ getCanvas()
GFXcanvas16* Adafruit_EyeLights_Base::getCanvas |
( |
void |
| ) |
const |
|
inline |
Get pointer to GFX canvas for smooth drawing.
- Returns
- GFXcanvas16* Pointer to GFXcanvas16 object, or NULL.
The documentation for this class was generated from the following file: