Table of Contents

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>)

public SetNonStrokeColorAdvanced(IReadOnlyList<decimal> operands)

Parameters

operands IReadOnlyList<decimal>

The color operands.

SetNonStrokeColorAdvanced(IReadOnlyList<decimal>, NameToken)

public SetNonStrokeColorAdvanced(IReadOnlyList<decimal> operands, NameToken patternName)

Parameters

operands IReadOnlyList<decimal>

The color operands.

patternName NameToken

The pattern name.

Fields

Symbol

The symbol for this operation in a stream.

public const string Symbol = "scn"

Field Value

string

Properties

Operands

The values for the color.

public IReadOnlyList<decimal> Operands { get; }

Property Value

IReadOnlyList<decimal>

Operator

public string Operator { get; }

Property Value

string

PatternName

The name of an entry in the Pattern subdictionary of the current resource dictionary.

public NameToken PatternName { get; }

Property Value

NameToken

Methods

Run(IOperationContext)

public void Run(IOperationContext operationContext)

Parameters

operationContext IOperationContext

ToString()

public override string ToString()

Returns

string

Write(Stream)

public void Write(Stream stream)

Parameters

stream Stream