public abstract class FontSelectorStrategy extends Object
FontSelectorStrategy
responsible for splitting text into sub texts with font. nextGlyphs()
will create next sub text and set current font.
Modifier and Type | Field and Description |
---|---|
protected int |
index |
protected FontProvider |
provider |
protected String |
text |
Modifier | Constructor and Description |
---|---|
protected |
FontSelectorStrategy(String text, FontProvider provider) |
Modifier and Type | Method and Description |
---|---|
boolean |
endOfText() |
abstract PdfFont |
getCurrentFont() |
abstract List<Glyph> |
nextGlyphs() |
protected String text
protected int index
protected FontProvider provider
protected FontSelectorStrategy(String text, FontProvider provider)
Copyright © 1998–2017 iText Group NV. All rights reserved.