Class SetNonStrokeColorDeviceCmyk
- Namespace
- UglyToad.PdfPig.Graphics.Operations
- Assembly
- UglyToad.PdfPig.dll
Set the non-stroking color space to DeviceCMYK and set the color to use for stroking operations.
public class SetNonStrokeColorDeviceCmyk : IGraphicsStateOperation
- Inheritance
-
SetNonStrokeColorDeviceCmyk
- Implements
- Inherited Members
Constructors
SetNonStrokeColorDeviceCmyk(decimal, decimal, decimal, decimal)
Create a new SetNonStrokeColorDeviceCmyk.
public SetNonStrokeColorDeviceCmyk(decimal c, decimal m, decimal y, decimal k)
Parameters
c
decimalThe cyan level.
m
decimalThe magenta level.
y
decimalThe yellow level.
k
decimalThe key level.
Fields
Symbol
The symbol for this operation in a stream.
public const string Symbol = "k"
Field Value
Properties
C
The cyan level between 0 and 1.
public decimal C { get; }
Property Value
K
The key level between 0 and 1.
public decimal K { get; }
Property Value
M
The magenta level between 0 and 1.
public decimal M { get; }
Property Value
Operator
public string Operator { get; }
Property Value
Y
The yellow level between 0 and 1.
public decimal Y { 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