Class FontGlyphsGStateValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.FontGlyphsGStateValidationContext
- All Implemented Interfaces:
-
IContentStreamValidationParameter,IGraphicStateValidationParameter,IValidationContext
public class FontGlyphsGStateValidationContext extends Object implements IValidationContext, IGraphicStateValidationParameter, IContentStreamValidationParameter
Class for canvas font glyphs validation context.
-
Constructor Summary
ConstructorsConstructorDescriptionFontGlyphsGStateValidationContext(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newFontGlyphsGStateValidationContextbased on canvas graphics state and content stream. -
Method Summary
Modifier and TypeMethodDescriptionGets the content stream.Gets the graphics state.getType()Gets type of the context.
-
Constructor Details
-
FontGlyphsGStateValidationContext
public FontGlyphsGStateValidationContext(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newFontGlyphsGStateValidationContextbased on canvas graphics state and content stream.- Parameters:
-
graphicsState- the canvas graphics state -
contentStream- the content stream
-
-
Method Details
-
getContentStream
Description copied from interface:IContentStreamValidationParameterGets the content stream.- Specified by:
-
getContentStreamin interfaceIContentStreamValidationParameter - Returns:
- the content stream
-
getGraphicsState
Description copied from interface:IGraphicStateValidationParameterGets the graphics state.- Specified by:
-
getGraphicsStatein interfaceIGraphicStateValidationParameter - Returns:
- the graphics state
-
getType
Description copied from interface:IValidationContextGets type of the context.- Specified by:
-
getTypein interfaceIValidationContext - Returns:
- the type
-