Class TextLabel

  • All Implemented Interfaces:
    Drawable, Updatable

    public class TextLabel
    extends Widget
    Simple text label that is drawn at the specified coordinates.
    • 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: Updatable
        Updates this object for the current frame.
        Parameters:
        deltaTime - Elapsed time since the last frame, in seconds.