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
| Improve this Doc View SourceDestinationSize
Gets the size of the image after transformation.
Declaration
Size DestinationSize { get; }
Property Value
Type | Description |
---|---|
Size |
Methods
| Improve this Doc 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. |