Uses of Class
org.xjge.core.Font

Packages that use Font
Package Description
org.xjge.core
Contains various classes, objects, and utilities many of which are essential to the function of the engine.
  • Uses of Font in org.xjge.core

    Fields in org.xjge.core declared as Font
    Modifier and Type Field Description
    protected static Font Widget.defaultFont  
    Methods in org.xjge.core with parameters of type Font
    Modifier and Type Method Description
    protected void Widget.drawString​(Font font, java.lang.String text, org.joml.Vector2i position, Color color)
    Draws a string of text to the screen.
    static int Text.lengthInPixels​(java.lang.String text, Font font)
    Finds the length of a string in pixels.
    static java.lang.String Text.wrap​(java.lang.String text, int advanceLimit, Font font)
    Attempts to wrap a string inside of the width specified.