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
ConstructorDescriptionStrokeColorValidationContext
(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 state -
resources
- the resources -
stream
- the content stream
-
-
Method Details
-
getType
Description copied from interface:IValidationContext
Gets type of the context.- Returns:
- the type
-