Uses of Class
com.itextpdf.kernel.pdf.canvas.CanvasGraphicsState
Packages that use CanvasGraphicsState
Package
Description
-
Uses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas
Fields in com.itextpdf.kernel.pdf.canvas declared as CanvasGraphicsStateModifier and TypeFieldDescriptionprotected CanvasGraphicsState
PdfCanvas.currentGs
the current graphics state.Fields in com.itextpdf.kernel.pdf.canvas with type parameters of type CanvasGraphicsStateModifier and TypeFieldDescriptionprotected Stack<CanvasGraphicsState>
PdfCanvas.gsStack
a LIFO stack of graphics state saved states.Methods in com.itextpdf.kernel.pdf.canvas that return CanvasGraphicsStateConstructors in com.itextpdf.kernel.pdf.canvas with parameters of type CanvasGraphicsState -
Uses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas.parser
Subclasses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas.parserModifier 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
Fields in com.itextpdf.kernel.pdf.canvas.parser.data declared as CanvasGraphicsStateMethods in com.itextpdf.kernel.pdf.canvas.parser.data that return CanvasGraphicsStateModifier and TypeMethodDescriptionAbstractRenderInfo.getGraphicsState()
IEventData.getGraphicsState()
Constructors in com.itextpdf.kernel.pdf.canvas.parser.data with parameters of type CanvasGraphicsStateModifierConstructorDescriptionClippingPathInfo
(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
Methods in com.itextpdf.kernel.validation.context that return CanvasGraphicsStateModifier and TypeMethodDescriptionAbstractColorValidationContext.getGraphicsState()
ExtendedGStateValidationContext.getGraphicsState()
FontGlyphsGStateValidationContext.getGraphicsState()
IGraphicStateValidationParameter.getGraphicsState()
Gets the graphics state.Constructors in com.itextpdf.kernel.validation.context with parameters of type CanvasGraphicsStateModifierConstructorDescriptionprotected
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
Methods in com.itextpdf.pdfa.checker with parameters of type CanvasGraphicsStateModifier 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.