- Enclosing interface:
RrdGraphConstants
public static class RrdGraphConstants.FontConstructor
extends Object
Font constructor, to use embedded fonts. Not really useful outside internal use for RRD4J.
-
Method Summary
Return the default RRD4J's default font for the given strength
(package private) static void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
refreshConf
static void refreshConf()
Used for tests
-
getFont
public static Font getFont(int type,
int size)
Return the default RRD4J's default font for the given strength
- Parameters:
type
- Font.BOLD
for a bold fond, any other value return plain style.
size
- the size for the new Font
- Returns:
- a new
Font
instance