Interface IImageFrameVisitor
- 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 ImageFrame instances.
public interface IImageFrameVisitor
Methods
Visit<TPixel>(ImageFrame<TPixel>)
Provides a pixel-specific implementation for a given operation.
void Visit<TPixel>(ImageFrame<TPixel> frame) where TPixel : unmanaged, IPixel<TPixel>
Parameters
frameImageFrame<TPixel>The image frame.
Type Parameters
TPixelThe pixel type.