Class TextLabel
- java.lang.Object
-
- nl.colorize.multimedialib.scene.ui.Widget
-
- nl.colorize.multimedialib.scene.ui.TextLabel
-
-
Constructor Summary
Constructors Constructor Description TextLabel(WidgetStyle style, java.lang.String text)TextLabel(WidgetStyle style, java.lang.String text, Align align)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrender(GraphicsContext2D graphics)voidupdate(float deltaTime)Updates this object for the current frame.-
Methods inherited from class nl.colorize.multimedialib.scene.ui.Widget
getLocation, getStyle, getX, getY, isVisible, setLocation, setVisible
-
-
-
-
Constructor Detail
-
TextLabel
public TextLabel(WidgetStyle style, java.lang.String text, Align align)
-
TextLabel
public TextLabel(WidgetStyle style, java.lang.String text)
-
-
Method Detail
-
update
public void update(float deltaTime)
Description copied from interface:UpdatableUpdates this object for the current frame.- Parameters:
deltaTime- Elapsed time since the last frame, in seconds.
-
render
public void render(GraphicsContext2D graphics)
-
-