Class StrokeColorValidationContext
java.lang.Object
com.itextpdf.kernel.validation.context.AbstractColorValidationContext
com.itextpdf.kernel.validation.context.StrokeColorValidationContext
- All Implemented Interfaces:
IContentStreamValidationParameter
,IGraphicStateValidationParameter
,IValidationContext
Class for stroke canvas color validation context.
-
Constructor Summary
ConstructorsConstructorDescriptionStrokeColorValidationContext
(CanvasGraphicsState canvasGraphicsState, PdfResources resources, PdfStream stream) Instantiates a newStrokeColorValidationContext
based on graphics state, resources and content stream. -
Method Summary
Methods inherited from class com.itextpdf.kernel.validation.context.AbstractColorValidationContext
getContentStream, getCurrentColorSpaces, getGraphicsState
-
Constructor Details
-
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 Details
-
getType
Description copied from interface:IValidationContext
Gets type of the context.- Returns:
- the type
-