Uses of Class
com.itextpdf.kernel.pdf.canvas.CanvasGraphicsState
-
-
Uses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas
Fields in com.itextpdf.kernel.pdf.canvas declared as CanvasGraphicsState Modifier and Type Field Description protected CanvasGraphicsState
PdfCanvas. currentGs
the current graphics state.Fields in com.itextpdf.kernel.pdf.canvas with type parameters of type CanvasGraphicsState Modifier and Type Field Description protected java.util.Stack<CanvasGraphicsState>
PdfCanvas. gsStack
a LIFO stack of graphics state saved states.Methods in com.itextpdf.kernel.pdf.canvas that return CanvasGraphicsState Modifier and Type Method Description CanvasGraphicsState
PdfCanvas. getGraphicsState()
Gets currentCanvasGraphicsState
.Methods in com.itextpdf.kernel.pdf.canvas with parameters of type CanvasGraphicsState Modifier and Type Method Description private void
CanvasGraphicsState. copyFrom(CanvasGraphicsState source)
Constructors in com.itextpdf.kernel.pdf.canvas with parameters of type CanvasGraphicsState Constructor Description CanvasGraphicsState(CanvasGraphicsState source)
Copy constructor. -
Uses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas.parser
Subclasses of CanvasGraphicsState in com.itextpdf.kernel.pdf.canvas.parser Modifier and Type Class Description class
ParserGraphicsState
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 CanvasGraphicsState Modifier and Type Field Description protected CanvasGraphicsState
AbstractRenderInfo. gs
Methods in com.itextpdf.kernel.pdf.canvas.parser.data that return CanvasGraphicsState Modifier and Type Method Description CanvasGraphicsState
AbstractRenderInfo. getGraphicsState()
CanvasGraphicsState
IEventData. getGraphicsState()
Constructors in com.itextpdf.kernel.pdf.canvas.parser.data with parameters of type CanvasGraphicsState Constructor Description AbstractRenderInfo(CanvasGraphicsState gs)
ClippingPathInfo(CanvasGraphicsState gs, Path path, Matrix ctm)
Creates a newClippingPathInfo
instance.ImageRenderInfo(java.util.Stack<CanvasTag> canvasTagHierarchy, CanvasGraphicsState gs, Matrix ctm, PdfStream imageStream, PdfName resourceName, PdfDictionary colorSpaceDictionary, boolean isInline)
Creates an ImageRenderInfo.PathRenderInfo(java.util.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(java.util.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, java.util.Stack<CanvasTag> canvasTagHierarchy)
Creates a new TextRenderInfo object -
Uses of CanvasGraphicsState in com.itextpdf.kernel.validation.context
Fields in com.itextpdf.kernel.validation.context declared as CanvasGraphicsState Modifier and Type Field Description private CanvasGraphicsState
AbstractColorValidationContext. graphicsState
private CanvasGraphicsState
ExtendedGStateValidationContext. graphicsState
private CanvasGraphicsState
FontGlyphsGStateValidationContext. graphicsState
Methods in com.itextpdf.kernel.validation.context that return CanvasGraphicsState Modifier and Type Method Description CanvasGraphicsState
AbstractColorValidationContext. getGraphicsState()
CanvasGraphicsState
ExtendedGStateValidationContext. getGraphicsState()
CanvasGraphicsState
FontGlyphsGStateValidationContext. getGraphicsState()
CanvasGraphicsState
IGraphicStateValidationParameter. getGraphicsState()
Gets the graphics state.Constructors in com.itextpdf.kernel.validation.context with parameters of type CanvasGraphicsState Constructor Description 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
Subclasses of CanvasGraphicsState in com.itextpdf.pdfa.checker Modifier and Type Class Description private static class
PdfA2Checker.UpdateCanvasGraphicsState
Methods in com.itextpdf.pdfa.checker with parameters of type CanvasGraphicsState Modifier and Type Method Description void
PdfA1Checker. checkColor(CanvasGraphicsState graphicsState, Color color, PdfDictionary currentColorSpaces, java.lang.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, java.lang.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, java.lang.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. -
Uses of CanvasGraphicsState in com.itextpdf.svg.renderers.impl
Methods in com.itextpdf.svg.renderers.impl with parameters of type CanvasGraphicsState Modifier and Type Method Description (package private) void
TextSvgTSpanBranchRenderer. applyGSDifference(PdfCanvas currentCanvas, CanvasGraphicsState savedGs)
-