Table of Contents

Class SetStrokeColorDeviceRgb

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

Set RGB color for stroking operations.

public class SetStrokeColorDeviceRgb : IGraphicsStateOperation
Inheritance
SetStrokeColorDeviceRgb
Implements
Inherited Members

Constructors

SetStrokeColorDeviceRgb(decimal, decimal, decimal)

public SetStrokeColorDeviceRgb(decimal r, decimal g, decimal b)

Parameters

r decimal

The red level.

g decimal

The green level.

b decimal

The blue level.

Fields

Symbol

The symbol for this operation in a stream.

public const string Symbol = "RG"

Field Value

string

Properties

B

The blue level between 0 and 1.

public decimal B { get; }

Property Value

decimal

G

The green level between 0 and 1.

public decimal G { get; }

Property Value

decimal

Operator

public string Operator { get; }

Property Value

string

R

The red level between 0 and 1.

public decimal R { get; }

Property Value

decimal

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