Table of Contents

Class CloningImageProcessor

Namespace
SixLabors.ImageSharp.Processing.Processors
Assembly
SixLabors.ImageSharp.dll

The base class for all cloning image processors.

public abstract class CloningImageProcessor : ICloningImageProcessor, IImageProcessor
Inheritance
CloningImageProcessor
Implements
Derived
Inherited Members

Constructors

CloningImageProcessor()

protected CloningImageProcessor()

Methods

CreatePixelSpecificCloningProcessor<TPixel>(Configuration, Image<TPixel>, Rectangle)

Creates a pixel specific ICloningImageProcessor<TPixel> that is capable of executing the processing algorithm on an Image<TPixel>.

public abstract ICloningImageProcessor<TPixel> CreatePixelSpecificCloningProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle) where TPixel : unmanaged, IPixel<TPixel>

Parameters

configuration Configuration

The configuration which allows altering default behaviour or extending the library.

source Image<TPixel>

The source image. Cannot be null.

sourceRectangle Rectangle

The Rectangle structure that specifies the portion of the image object to draw.

Returns

ICloningImageProcessor<TPixel>

The ICloningImageProcessor<TPixel>

Type Parameters

TPixel

The pixel type.