public class FontCache
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.HashMap<java.lang.String,org.graphstream.ui.android.util.FontSlot> |
cache |
protected static Font |
defFont |
Constructor and Description |
---|
FontCache() |
Modifier and Type | Method and Description |
---|---|
static Font |
getDefaultFont() |
static Font |
getDefaultFont(org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.TextStyle style,
int size) |
static Font |
getFont(java.lang.String name,
org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.TextStyle style,
int size) |
protected static Font defFont
protected static java.util.HashMap<java.lang.String,org.graphstream.ui.android.util.FontSlot> cache
public static Font getDefaultFont()
public static Font getDefaultFont(org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.TextStyle style, int size)
public static Font getFont(java.lang.String name, org.graphstream.ui.graphicGraph.stylesheet.StyleConstants.TextStyle style, int size)