Class CloningImageProcessor
The base class for all cloning image processors.
Inheritance
CloningImageProcessor
Inherited Members
Namespace: SixLabors.ImageSharp.Processing.Processors
Assembly: SixLabors.ImageSharp.dll
Syntax
public abstract class CloningImageProcessor : ICloningImageProcessor, IImageProcessor
Methods
| Edit this page View SourceCreatePixelSpecificCloningProcessor<TPixel>(Configuration, Image<TPixel>, Rectangle)
Creates a pixel specific ICloningImageProcessor<TPixel> that is capable of executing the processing algorithm on an Image<TPixel>.
Declaration
public abstract ICloningImageProcessor<TPixel> CreatePixelSpecificCloningProcessor<TPixel>(Configuration configuration, Image<TPixel> source, Rectangle sourceRectangle) where TPixel : unmanaged, IPixel<TPixel>
Parameters
Type | Name | Description |
---|---|---|
Configuration | configuration | The configuration which allows altering default behaviour or extending the library. |
Image<TPixel> | source | The source image. Cannot be null. |
Rectangle | sourceRectangle | The Rectangle structure that specifies the portion of the image object to draw. |
Returns
Type | Description |
---|---|
ICloningImageProcessor<TPixel> |
Type Parameters
Name | Description |
---|---|
TPixel | The pixel type. |