Class SkewProcessor
Defines a skew transformation applicable to an Image.
Inherited Members
Namespace: SixLabors.ImageSharp.Processing.Processors.Transforms
Assembly: SixLabors.ImageSharp.dll
Syntax
public sealed class SkewProcessor : AffineTransformProcessor, ICloningImageProcessor, IImageProcessor
Constructors
| Improve this Doc View SourceSkewProcessor(Single, Single, IResampler, Size)
Initializes a new instance of the SkewProcessor class.
Declaration
public SkewProcessor(float degreesX, float degreesY, IResampler sampler, Size sourceSize)
Parameters
Type | Name | Description |
---|---|---|
Single | degreesX | The angle in degrees to perform the skew along the x-axis. |
Single | degreesY | The angle in degrees to perform the skew along the y-axis. |
IResampler | sampler | The sampler to perform the skew operation. |
Size | sourceSize | The source image size |
SkewProcessor(Single, Single, Size)
Initializes a new instance of the SkewProcessor class.
Declaration
public SkewProcessor(float degreesX, float degreesY, Size sourceSize)
Parameters
Type | Name | Description |
---|---|---|
Single | degreesX | The angle in degrees to perform the skew along the x-axis. |
Single | degreesY | The angle in degrees to perform the skew along the y-axis. |
Size | sourceSize | The source image size |
Properties
| Improve this Doc View SourceDegreesX
Gets the angle of rotation along the x-axis in degrees.
Declaration
public float DegreesX { get; }
Property Value
Type | Description |
---|---|
Single |
DegreesY
Gets the angle of rotation along the y-axis in degrees.
Declaration
public float DegreesY { get; }
Property Value
Type | Description |
---|---|
Single |