Class SetStrokeColorSpace
- Namespace
- UglyToad.PdfPig.Graphics.Operations
- Assembly
- UglyToad.PdfPig.dll
Set the current color space to use for stroking operations.
public class SetStrokeColorSpace : IGraphicsStateOperation
- Inheritance
-
SetStrokeColorSpace
- Implements
- Inherited Members
Constructors
SetStrokeColorSpace(NameToken)
Create a new SetStrokeColorSpace.
public SetStrokeColorSpace(NameToken name)
Parameters
name
NameTokenThe name of the color space.
Fields
Symbol
The symbol for this operation in a stream.
public const string Symbol = "CS"
Field Value
Properties
Name
The name of the color space.
public NameToken Name { get; }
Property Value
Operator
public string Operator { get; }
Property Value
Methods
Run(IOperationContext)
public void Run(IOperationContext operationContext)
Parameters
operationContext
IOperationContext
ToString()
public override string ToString()
Returns
Write(Stream)
public void Write(Stream stream)
Parameters
stream
Stream