Interface Font

All Known Implementing Classes:
FKFont, MinecraftBitmapFont

public interface Font
  • Method Summary

    Modifier and Type
    Method
    Description
    getGlyph(int codepoint)
     
    float
    The scale factor to be applied to the font size when emitting vertex data.
  • Method Details

    • scaleFactor

      float scaleFactor()
      The scale factor to be applied to the font size when emitting vertex data. The GlyphRef.minX() and GlyphRef.maxX() must have this premultiplied.
    • getGlyph

      GlyphRef getGlyph(int codepoint)