Table of Contents

Class SetStrokeColor

Namespace
UglyToad.PdfPig.Graphics.Operations
Assembly
UglyToad.PdfPig.dll

Set the stroking color based on the current color space.

public class SetStrokeColor : IGraphicsStateOperation
Inheritance
SetStrokeColor
Implements
Inherited Members

Constructors

SetStrokeColor(decimal[])

Create a new SetStrokeColor.

public SetStrokeColor(decimal[] operands)

Parameters

operands decimal[]

The color operands.

Fields

Symbol

The symbol for this operation in a stream.

public const string Symbol = "SC"

Field Value

string

Properties

Operands

The values for the color, 1 for grayscale, 3 for RGB, 4 for CMYK.

public IReadOnlyList<decimal> Operands { get; }

Property Value

IReadOnlyList<decimal>

Operator

public string Operator { get; }

Property Value

string

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