Java Utililty Methods Font Derive

List of utility methods to do Font Derive

Description

The list of methods to do Font Derive are organized into topic(s).

Method

FontderiveFont(Font font, int style, int size)
derive Font
return createFont(font.getFamily(), style, size);
FontderiveFont(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());
FontderiveFont(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) {
...