Package de.gurkenlabs.litiengine.gui
Class FontIcon
java.lang.Object
de.gurkenlabs.litiengine.gui.FontIcon
A fonticon is an class that represents a single character of an icon font.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FontIcon
Instantiates a new icon.- Parameters:
font- the fonttext- the text
-
FontIcon
-
-
Method Details
-
getFont
Gets the font.- Returns:
- the font
-
getText
Gets the text.- Returns:
- the text
-
render
Render.- Parameters:
g- the gcolor- the colorfontSize- the font sizex- the xy- the ybold- the bold
-