Table of Contents

Interface IImageVisitor

Namespace
SixLabors.ImageSharp.Advanced
Assembly
SixLabors.ImageSharp.dll

A visitor to implement a double-dispatch pattern in order to apply pixel-specific operations on non-generic Image instances.

public interface IImageVisitor

Methods

Visit<TPixel>(Image<TPixel>)

Provides a pixel-specific implementation for a given operation.

void Visit<TPixel>(Image<TPixel> image) where TPixel : unmanaged, IPixel<TPixel>

Parameters

image Image<TPixel>

The image.

Type Parameters

TPixel

The pixel type.