public class FxFontUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static javafx.scene.control.Label |
createIconLabel(IWebFontCode _iconCode,
double _size)
Creates a new
Label with the given 'icon' and the given font size. |
static javafx.scene.control.Label |
createIconLabel(String _iconCode,
double _size)
Creates a new
Label with the given 'iconCode' (e.g. "") and the given font size. |
static void |
loadFont(InputStream _fontInputStream,
double _size)
Load given font (ttf) from stream.
|
public static void loadFont(InputStream _fontInputStream, double _size)
Font.loadFont(InputStream, double)._fontInputStream - font file as input stream_size - font sizepublic static javafx.scene.control.Label createIconLabel(String _iconCode, double _size)
Label with the given 'iconCode' (e.g. "") and the given font size._iconCode - utf icon code_size - font sizepublic static javafx.scene.control.Label createIconLabel(IWebFontCode _iconCode, double _size)
Label with the given 'icon' and the given font size._iconCode - utf icon code_size - font sizeCopyright © 2019. All rights reserved.