10 const unsigned int length;
12 void paintBox(
unsigned int cornerRadius);
13 void paintTick(
unsigned int margin);
14 static const unsigned int MIN_LENGTH;
15 static const unsigned int MIN_TICK_MARGIN;
16 static const unsigned int DEFAULT_LENGTH;
Definition Adafruit_GFX.h:18
void setChecked(bool checked)
Sets whether the checkbox is checked.
virtual void paint() override
Paints this component.
Color getTickColor()
Gets the color of the tick stroke.
bool isChecked()
Gets whether the checkbox is checked.
void setTickColor(Color color)
Sets the color of the tick stroke.
Checkbox(Adafruit_GFX &graphics, unsigned int x, unsigned int y)
Creates a checkbox with default length.
Checkbox(Adafruit_GFX &graphics, unsigned int x, unsigned int y, unsigned int length)
Creates a checkbox.
The common interface for colors used by DSGC.
Definition Color.h:21