Exemple #1
0
 public Font createFont(String name, int style, int size) {
   return fontFactory.createFont(name, style, size);
 }
Exemple #2
0
 public TextLayout createTextLayout(
     String string, Font font, FontRenderContext fontRenderContext) {
   return fontFactory.createTextLayout(string, font, fontRenderContext);
 }
Exemple #3
0
 public FontAdapter() {
   fontFactory = FactoryProvider.INSTANCE.getFontFactory();
   fontLoader = fontFactory.createFontLoader();
   textAttributeProvider = fontFactory.createTextAttributeProvider();
 }