Interface IFontSelectorStrategyFactory
- All Known Implementing Classes:
-
BestMatchFontSelectorStrategy.BestMatchFontSelectorStrategyFactory
,FirstMatchFontSelectorStrategy.FirstMathFontSelectorStrategyFactory
public interface IFontSelectorStrategyFactory
The factory for
IFontSelectorStrategy
.
-
Method Summary
Modifier and TypeMethodDescriptioncreateFontSelectorStrategy
(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts) Creates a new instance ofIFontSelectorStrategy
.
-
Method Details
-
createFontSelectorStrategy
IFontSelectorStrategy createFontSelectorStrategy(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts) Creates a new instance ofIFontSelectorStrategy
.- Parameters:
-
fontProvider
- the font provider -
fontSelector
- the font selector -
additionalFonts
- the set of fonts to be used additionally to the fonts added to font provider. - Returns:
-
new instance of
IFontSelectorStrategy
-