public class DefaultRoutedFont extends Object implements IsDefaultFont
| Modifier | Constructor and Description |
|---|---|
protected |
DefaultRoutedFont()
To avoid any instantiation
|
| Modifier and Type | Method and Description |
|---|---|
String |
getFamily()
Returns the font family, follows CSS font-family options.
|
double |
getLineHeight()
Returns the height of an individual line of text.
|
String |
getLineHeightAsString()
Returns the height of an individual line of text as string.
|
int |
getSize()
Returns the font size.
|
FontStyle |
getStyle()
Returns the font style, follows CSS font-style options (i.e.
|
Weight |
getWeight()
Returns the font weight, follows CSS font-style-weight options.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createpublic int getSize()
IsDefaultFontgetSize in interface IsDefaultFontpublic FontStyle getStyle()
IsDefaultFontgetStyle in interface IsDefaultFontpublic String getFamily()
IsDefaultFontgetFamily in interface IsDefaultFontpublic Weight getWeight()
IsDefaultFontgetWeight in interface IsDefaultFontpublic double getLineHeight()
IsDefaultFontgetLineHeight in interface IsDefaultFontpublic String getLineHeightAsString()
IsDefaultFontgetLineHeightAsString in interface IsDefaultFont