List of utility methods to do Font Derive
Font | deriveFont(Font font, int style, int size) derive Font return createFont(font.getFamily(), style, size);
|
Font | deriveFont(Font font, String name) Create a new Font given an existing font and a different font name. return new Font(name, font.getStyle(), font.getSize()); |
Font | deriveFont(Font sample, String family, String style, String sizeStr) derive Font int size; if (sizeStr == null) { size = sample.getSize(); } else { size = Integer.parseInt(sizeStr); int fs; if (style == null) { ... |