A Sprite that renders as a solid circle.
Definition at line 143 of file ge211_sprites.h.
Public Member Functions | |
Circle_sprite (int radius, Color=Color::white()) | |
Constructs a circle sprite from its radius and optionally a Color, which defaults to white. More... | |
void | recolor (Color) |
Changes the color of this circle sprite. | |
|
explicit |
Constructs a circle sprite from its radius and optionally a Color, which defaults to white.
Note that when positioned, the reference point is the upper-left corner of the bounding box of the sprite, not the center of the circle.
Definition at line 150 of file ge211_sprites.cpp.