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 java.lang.Object implements IFontSelectorStrategyFactory
The factory forFirstMatchFontSelectorStrategy
.
-
-
Constructor Summary
Constructors Constructor Description FirstMathFontSelectorStrategyFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFontSelectorStrategy
createFontSelectorStrategy(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts)
Creates a new instance ofIFontSelectorStrategy
.
-
-
-
Method Detail
-
createFontSelectorStrategy
public IFontSelectorStrategy createFontSelectorStrategy(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts)
Creates a new instance ofIFontSelectorStrategy
.- Specified by:
createFontSelectorStrategy
in interfaceIFontSelectorStrategyFactory
- Parameters:
fontProvider
- the font providerfontSelector
- the font selectoradditionalFonts
- the set of fonts to be used additionally to the fonts added to font provider.- Returns:
- new instance of
IFontSelectorStrategy
-
-