public interface FontProvider
Modifier and Type | Method and Description |
---|---|
java.awt.Font |
getFont(float weight,
int value)
The implementing class must return an appropriate font for the supplied
weight
|
java.awt.Font getFont(float weight, int value)
weight
- The weight for which the font should be returned range is 0
to 1 for choices based on relative weightvalue
- the value for the weight if the choice is to be based on absolute values