Package com.inet.html.utils
Class FontUtils
java.lang.Object
com.inet.html.utils.FontUtils
Font utilities class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FontgetFontFor(String characters, int style, float size) Searches for a font, which is able to display the complete string
-
Constructor Details
-
FontUtils
public FontUtils()
-
-
Method Details
-
getFontFor
Searches for a font, which is able to display the complete string- Parameters:
characters- the string to displaystyle- the style for the new Fontsize- the size for the new Font- Returns:
- a font, which can display the string or null, if none was found
-