A spiral shape.
Definition spiral.hpp:11
void renderAt(const Coords &coords, const shader_t &shader) const override
Display the renderable directly onto the screen.
Size getSize() const override
Get the size of the renderable.
Spiral(color_t color, float scale, coord_t innerRadius, float angleTotal, float angleStep=0.2)
Construct the spiral.
uint16_t color_t
An RGB565 color value. 5 bits red, 6 bits green, 5 bits blue.
Definition color.hpp:13
int16_t coord_t
A pixel coordinate on the screen. This can be negative or otherwise off-screen.
Definition coords.hpp:12
shader_animated_t shader_t
A pixel shader that may or may not update based on the current time.
Definition renderable.hpp:48
A struct for storing the pixel coordinates of various UI elements.
Definition coords.hpp:17
The common interface for rendering arbitrary shapes.
Definition shape.hpp:11
A struct that holds the number of pixels that a widget would take up on the screen.
Definition size.hpp:17