Table of Contents

Class SetNonStrokeColor

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

Set the nonstroking color based on the current color space.

public class SetNonStrokeColor : IGraphicsStateOperation
Inheritance
SetNonStrokeColor
Implements
Inherited Members

Constructors

SetNonStrokeColor(decimal[])

Create a new SetNonStrokeColor.

public SetNonStrokeColor(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