Package de.gurkenlabs.litiengine.gui
Class FontIcon
java.lang.Object
de.gurkenlabs.litiengine.gui.FontIcon
public class FontIcon
extends java.lang.Object
A fonticon is an class that represents a single character of an icon font.
Constructor Details
Method Details
getFont
public java.awt.Font getFont()Gets the font.- Returns:
- the font
getText
public java.lang.String getText()Gets the text.- Returns:
- the text
render
public void render(java.awt.Graphics2D g, java.awt.Color color, float fontSize, double x, double y, boolean bold)Render.- Parameters:
g
- the gcolor
- the colorfontSize
- the font sizex
- the xy
- the ybold
- the bold