Class StrokeColorValidationContext
- java.lang.Object
-
- com.itextpdf.kernel.validation.context.AbstractColorValidationContext
-
- com.itextpdf.kernel.validation.context.StrokeColorValidationContext
-
- All Implemented Interfaces:
IContentStreamValidationParameter
,IGraphicStateValidationParameter
,IValidationContext
public class StrokeColorValidationContext extends AbstractColorValidationContext
Class for stroke canvas color validation context.
-
-
Constructor Summary
Constructors Constructor Description StrokeColorValidationContext(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream)
Instantiates a newStrokeColorValidationContext
based on graphics state, resources and content stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationType
getType()
Gets type of the context.-
Methods inherited from class com.itextpdf.kernel.validation.context.AbstractColorValidationContext
getContentStream, getCurrentColorSpaces, getGraphicsState
-
-
-
-
Constructor Detail
-
StrokeColorValidationContext
public StrokeColorValidationContext(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream)
Instantiates a newStrokeColorValidationContext
based on graphics state, resources and content stream.- Parameters:
canvasGraphicsState
- the canvas graphics stateresources
- the resourcesstream
- the content stream
-
-
Method Detail
-
getType
public ValidationType getType()
Description copied from interface:IValidationContext
Gets type of the context.- Returns:
- the type
-
-