Interface IImageVisitor
A visitor to implement a double-dispatch pattern in order to apply pixel-specific operations on non-generic Image instances.
Namespace: SixLabors.ImageSharp.Advanced
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface IImageVisitorMethods
| Improve this Doc View SourceVisit<TPixel>(Image<TPixel>)
Provides a pixel-specific implementation for a given operation.
Declaration
void Visit<TPixel>(Image<TPixel> image)
    where TPixel : struct, IPixel<TPixel>Parameters
| Type | Name | Description | 
|---|---|---|
| Image<TPixel> | image | The image. | 
Type Parameters
| Name | Description | 
|---|---|
| TPixel | The pixel type. |