Uses of Class
org.xjge.core.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 FontWidget. defaultFontMethods in org.xjge.core with parameters of type Font Modifier and Type Method Description protected voidWidget. drawString(Font font, java.lang.String text, org.joml.Vector2i position, Color color)Draws a string of text to the screen.static intText. lengthInPixels(java.lang.String text, Font font)Finds the length of a string in pixels.static java.lang.StringText. wrap(java.lang.String text, int advanceLimit, Font font)Attempts to wrap a string inside of the width specified.