Kaba class Text ed
Syntax ed
class Text extends Layer
int align
color color
bool enabled
Font* font
vector pos
float size
string text
# functions
void __init__(vector pos, bool set_cur)
void __init__()
void __init__(vector pos, float size, color c, string str)
float getWidth()
virtual bool is_mouse_over()
virtual void on_click()
virtual void on_enter()
virtual void on_hover()
virtual void on_iterate(float dt)
virtual void on_leave()
# operators
virtual void __draw() # __draw Text -> void
virtual void __update() # __update Text -> void
Functions ed
- void __init__(vector pos, bool set_cur)
- description
- void __init__()
- description
- void __init__(vector pos, float size, color c, string str)
- description
- float getWidth()
- description
- bool is_mouse_over()
- description
- void on_click()
- description
- void on_enter()
- description
- void on_hover()
- description
- void on_iterate(float dt)
- description
- void on_leave()
- description
Elements ed
- int align
- description
- color color
- description
- bool enabled
- description
- Font* font
- description
- vector pos
- description
- float size
- description
- string text
- description