Table of Contents

Interface IGraphicsStateOperation

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

An operation with associated data from a content stream.

public interface IGraphicsStateOperation

Properties

Operator

The symbol representing the operator in the content stream.

string Operator { get; }

Property Value

string

Methods

Run(IOperationContext)

Applies the operation to the current context with the provided resources.

Matrix transformations should be implemented in IOperationContext.

void Run(IOperationContext operationContext)

Parameters

operationContext IOperationContext

Write(Stream)

Writes the operator and any operands as valid PDF content to the stream.

void Write(Stream stream)

Parameters

stream Stream

The stream to write to.