|
|
| Drawable (int16_t x, int16_t y, int16_t width, int16_t height) |
| |
| virtual void | setPosition (const m5::Vector2i &position) |
| | set primary position
|
| |
|
virtual m5::Vector2i & | getPosition () |
| |
| virtual void | setRotation (int rotation) |
| |
| virtual int | getRotation () |
| | Get the Rotation in degrees, counter-clockwise.
|
| |
|
virtual void | setSize (const m5::Size2i &size) |
| |
|
virtual m5::Size2i & | getSize () |
| |
|
virtual void | setVisible (bool visible) |
| |
|
virtual bool | getVisible () |
| |
|
virtual bool | isVisible () |
| |
|
virtual void | setIgnoreExpression (bool ignore) |
| |
|
virtual bool | getIgnoreExpression () |
| |
|
virtual bool | isIgnoreExpression () |
| |
|
virtual void | draw (M5Canvas &canvas) |
| |
|
virtual void | update () |
| |
|
|
m5::Vector2i | position_ {0, 0} |
| |
|
int | rotation_ = 0 |
| |
|
m5::Size2i | size_ {100, 100} |
| |
|
bool | visible_ = true |
| |
|
bool | ignore_expression_ = false |
| |
◆ getRotation()
| virtual int stackchan::display::Drawable::getRotation |
( |
| ) |
|
|
inlinevirtual |
Get the Rotation in degrees, counter-clockwise.
- Returns
- int
◆ setPosition()
| virtual void stackchan::display::Drawable::setPosition |
( |
const m5::Vector2i & | position | ) |
|
|
inlinevirtual |
set primary position
- Parameters
-
◆ setRotation()
| virtual void stackchan::display::Drawable::setRotation |
( |
int | rotation | ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following file: