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
ConstructorDescriptionFontGlyphsGStateValidationContext
(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newFontGlyphsGStateValidationContext
based 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 newFontGlyphsGStateValidationContext
based on canvas graphics state and content stream.- Parameters:
-
graphicsState
- the canvas graphics state -
contentStream
- the content stream
-
-
Method Details
-
getContentStream
Description copied from interface:IContentStreamValidationParameter
Gets the content stream.- Specified by:
-
getContentStream
in interfaceIContentStreamValidationParameter
- Returns:
- the content stream
-
getGraphicsState
Description copied from interface:IGraphicStateValidationParameter
Gets the graphics state.- Specified by:
-
getGraphicsState
in interfaceIGraphicStateValidationParameter
- Returns:
- the graphics state
-
getType
Description copied from interface:IValidationContext
Gets type of the context.- Specified by:
-
getType
in interfaceIValidationContext
- Returns:
- the type
-