Class FirstMatchFontSelectorStrategy.FirstMathFontSelectorStrategyFactory
java.lang.Object
com.itextpdf.layout.font.selectorstrategy.FirstMatchFontSelectorStrategy.FirstMathFontSelectorStrategyFactory
- All Implemented Interfaces:
-
IFontSelectorStrategyFactory
- Enclosing class:
- FirstMatchFontSelectorStrategy
public static final class FirstMatchFontSelectorStrategy.FirstMathFontSelectorStrategyFactory extends Object implements IFontSelectorStrategyFactory
The factory for
FirstMatchFontSelectorStrategy
.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFontSelectorStrategy
(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts) Creates a new instance ofIFontSelectorStrategy
.
-
Constructor Details
-
FirstMathFontSelectorStrategyFactory
public FirstMathFontSelectorStrategyFactory()
-
-
Method Details
-
createFontSelectorStrategy
public IFontSelectorStrategy createFontSelectorStrategy(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts) Creates a new instance ofIFontSelectorStrategy
.- Specified by:
-
createFontSelectorStrategy
in interfaceIFontSelectorStrategyFactory
- 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
-