Package com.levigo.jadice.fontmanager
Class FontSources
- java.lang.Object
-
- com.levigo.jadice.fontmanager.FontSources
-
public class FontSources extends Object
Static helper methods to deal withFontSourceinstances.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FontloadFontFrom(FontSource fontSource)Create aFontusing the information supplied by aFontSource.
-
-
-
Method Detail
-
loadFontFrom
public static Font loadFontFrom(FontSource fontSource) throws JadiceException
Create aFontusing the information supplied by aFontSource.- Parameters:
fontSource- holds the information necessary to create aFont- Returns:
- a
Fontcreated using the information in the givenFontSource - Throws:
JadiceException- thrown in case of errors during font loading, including I/O problems
-
-