Class SetNonStrokeColorAdvanced
- Namespace
- UglyToad.PdfPig.Graphics.Operations
- Assembly
- UglyToad.PdfPig.dll
Set the stroking color based on the current color space with support for Pattern, Separation, DeviceN, and ICCBased color spaces.
public class SetNonStrokeColorAdvanced : IGraphicsStateOperation
- Inheritance
-
SetNonStrokeColorAdvanced
- Implements
- Inherited Members
Constructors
SetNonStrokeColorAdvanced(IReadOnlyList<decimal>)
Create a new SetNonStrokeColorAdvanced.
public SetNonStrokeColorAdvanced(IReadOnlyList<decimal> operands)
Parameters
operands
IReadOnlyList<decimal>The color operands.
SetNonStrokeColorAdvanced(IReadOnlyList<decimal>, NameToken)
Create a new SetNonStrokeColorAdvanced.
public SetNonStrokeColorAdvanced(IReadOnlyList<decimal> operands, NameToken patternName)
Parameters
operands
IReadOnlyList<decimal>The color operands.
patternName
NameTokenThe pattern name.
Fields
Symbol
The symbol for this operation in a stream.
public const string Symbol = "scn"
Field Value
Properties
Operands
The values for the color.
public IReadOnlyList<decimal> Operands { get; }
Property Value
Operator
public string Operator { get; }
Property Value
PatternName
The name of an entry in the Pattern subdictionary of the current resource dictionary.
public NameToken PatternName { 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