Interface FontMetricsFactory
-
- All Known Implementing Classes:
AWTFontMetricsFactory,ITextFontMetricsFactory,MonospaceFontMetricsFactory,TrueTypeFontMetricsFactory
public interface FontMetricsFactoryAn abstract method to load font metrics. Implementations of this class fully manage the creation of resources and should make sure that no unneccessary metrics are loaded.- Author:
- Thomas Morgner
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FontMetricscreateMetrics(FontIdentifier identifier, FontContext context)Loads the font metrics for the font identified by the given identifier.
-
-
-
Method Detail
-
createMetrics
FontMetrics createMetrics(FontIdentifier identifier, FontContext context)
Loads the font metrics for the font identified by the given identifier.- Parameters:
identifier-context-- Returns:
-
-