Class FontValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.FontValidationContext
- All Implemented Interfaces:
-
IValidationContext
Class for font validation context.
-
Constructor Summary
ConstructorsConstructorDescriptionFontValidationContext(GlyphLine glyphLine, PdfFont font) Instantiates a newFontValidationContextbased on glyph line and font.FontValidationContext(String text, PdfFont font) Instantiates a newFontValidationContextbased on text and font. -
Method Summary
-
Constructor Details
-
FontValidationContext
Instantiates a newFontValidationContextbased on text and font.- Parameters:
-
text- the text -
font- the font
-
FontValidationContext
Instantiates a newFontValidationContextbased on glyph line and font.- Parameters:
-
glyphLine- the glyph line -
font- the font
-
-
Method Details
-
getText
Gets the text.- Returns:
- the text
-
getGlyphLine
Gets the glyph line.- Returns:
- the glyph line
-
getFont
Gets the font.- Returns:
- the font
-
getType
Description copied from interface:IValidationContextGets type of the context.- Specified by:
-
getTypein interfaceIValidationContext - Returns:
- the type
-