Class Font


  • public final class Font
    extends java.lang.Object
    Font for drawing text.
    • Constructor Detail

      • Font

        public Font()
      • Font

        public Font​(int size)
      • Font

        public Font​(int size,
                    @NotNull
                    @NotNull Color color)
      • Font

        public Font​(int size,
                    @NotNull
                    @NotNull Color color,
                    @NotNull
                    @NotNull Font.Style style)
      • Font

        public Font​(int size,
                    @NotNull
                    @NotNull Color color,
                    @NotNull
                    @NotNull Font.Style style,
                    float borderWidth)
      • Font

        public Font​(int size,
                    @NotNull
                    @NotNull Color color,
                    @NotNull
                    @NotNull Font.Style style,
                    float borderWidth,
                    @NotNull
                    @NotNull Color borderColor)
    • Method Detail

      • getBitmap

        @NotNull
        public @NotNull com.badlogic.gdx.graphics.g2d.BitmapFont getBitmap()
      • getSize

        public int getSize()
      • getColor

        @NotNull
        public @NotNull Color getColor()
      • getStyle

        @NotNull
        public @NotNull Font.Style getStyle()
      • getBorderWidth

        public float getBorderWidth()
      • getBorderColor

        @NotNull
        public @NotNull Color getBorderColor()
      • getCapHeight

        public float getCapHeight()
      • getLineHeight

        public float getLineHeight()