SfmlBook::Chapter6::GUI::Label
Inherits SfmlBook::Chapter6::GUI::Component < SF::NonCopyable < SF::Drawable < SF::Transformable < Reference < Object
Constructors
new(text : String, fonts : FontHolder)
SourceInstance methods
Draw the object to a render target.
This is an abstract method that has to be implemented by the including class to define how the drawable should be drawn.
- target - Render target to draw to
- states - Current render states
selectable?
Sourcetext=(text : String)
Source