Uses of Class
com.itextpdf.kernel.pdf.canvas.CanvasGraphicsState
Package
Description
-
Uses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas
Modifier and TypeFieldDescriptionprotected CanvasGraphicsState
PdfCanvas.currentGs
the current graphics state.Modifier and TypeFieldDescriptionprotected Stack<CanvasGraphicsState>
PdfCanvas.gsStack
a LIFO stack of graphics state saved states. -
Uses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas.parser
Modifier and TypeClassDescriptionclass
Internal class which is essentially aCanvasGraphicsState
which supports tracking of clipping path state and changes. -
Uses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas.parser.data
Modifier and TypeMethodDescriptionAbstractRenderInfo.getGraphicsState()
IEventData.getGraphicsState()
ModifierConstructorDescriptionClippingPathInfo
(CanvasGraphicsState gs, Path path, Matrix ctm) Creates a newClippingPathInfo
instance.ImageRenderInfo
(Stack<CanvasTag> canvasTagHierarchy, CanvasGraphicsState gs, Matrix ctm, PdfStream imageStream, PdfName resourceName, PdfDictionary colorSpaceDictionary, boolean isInline) Creates an ImageRenderInfo.PathRenderInfo
(Stack<CanvasTag> canvasTagHierarchy, CanvasGraphicsState gs, Path path, int operation) If the operation isPathRenderInfo.NO_OP
then the rule is ignored, otherwisePdfCanvasConstants.FillingRule.NONZERO_WINDING
is used by default.PathRenderInfo
(Stack<CanvasTag> canvasTagHierarchy, CanvasGraphicsState gs, Path path, int operation, int rule, boolean isClip, int clipRule) Creates the newPathRenderInfo
instance.TextRenderInfo
(PdfString str, CanvasGraphicsState gs, Matrix textMatrix, Stack<CanvasTag> canvasTagHierarchy) Creates a new TextRenderInfo object -
Uses of CanvasGraphicsState in com.itextpdf.kernel.validation.context
Modifier and TypeMethodDescriptionAbstractColorValidationContext.getGraphicsState()
ExtendedGStateValidationContext.getGraphicsState()
FontGlyphsGStateValidationContext.getGraphicsState()
IGraphicStateValidationParameter.getGraphicsState()
Gets the graphics state.ModifierConstructorDescriptionprotected
AbstractColorValidationContext
(CanvasGraphicsState graphicsState, PdfResources resources, PdfStream contentStream) Instantiates a newAbstractColorValidationContext
based on graphic state, resources and content stream.ExtendedGStateValidationContext
(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newExtendedGStateValidationContext
based on graphics state and content stream.FillColorValidationContext
(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream) Instantiates a newFillColorValidationContext
based on graphics state, resources and content stream.FontGlyphsGStateValidationContext
(CanvasGraphicsState graphicsState, PdfStream contentStream) Instantiates a newFontGlyphsGStateValidationContext
based on canvas graphics state and content stream.StrokeColorValidationContext
(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream) Instantiates a newStrokeColorValidationContext
based on graphics state, resources and content stream. -
Uses of CanvasGraphicsState in com.itextpdf.pdfa.checker
Modifier and TypeMethodDescriptionvoid
PdfA1Checker.checkColor
(CanvasGraphicsState graphicsState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream stream) This method checks compliance with the color restrictions imposed by the available color spaces in the document.void
PdfA2Checker.checkColor
(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) This method checks compliance with the color restrictions imposed by the available color spaces in the document.abstract void
PdfAChecker.checkColor
(CanvasGraphicsState gState, Color color, PdfDictionary currentColorSpaces, Boolean fill, PdfStream contentStream) This method checks compliance with the color restrictions imposed by the available color spaces in the document.void
PdfA1Checker.checkExtGState
(CanvasGraphicsState extGState, PdfStream contentStream) void
PdfA2Checker.checkExtGState
(CanvasGraphicsState extGState, PdfStream contentStream) void
PdfA4Checker.checkExtGState
(CanvasGraphicsState extGState, PdfStream contentStream) abstract void
PdfAChecker.checkExtGState
(CanvasGraphicsState extGState, PdfStream contentStream) Performs a number of checks on the graphics state, among others ISO 19005-1 section 6.2.8 and 6.4 and ISO 19005-2 section 6.2.5 and 6.2.10.