Interface ISwizzler
Encapsulate an algorithm to swizzle pixels in an image.
Namespace: SixLabors.ImageSharp.Processing.Processors.Transforms
Assembly: SixLabors.ImageSharp.dll
Syntax
public interface ISwizzler
Properties
| Edit this page View SourceDestinationSize
Gets the size of the image after transformation.
Declaration
Size DestinationSize { get; }
Property Value
Type | Description |
---|---|
Size |
Methods
| Edit this page View SourceTransform(Point)
Applies the swizzle transformation to a given point.
Declaration
Point Transform(Point point)
Parameters
Type | Name | Description |
---|---|---|
Point | point | Point to transform. |
Returns
Type | Description |
---|---|
Point | The transformed point. |