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
| Edit this page View SourceSkewProcessor(float, float, 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 |
---|---|---|
float | degreesX | The angle in degrees to perform the skew along the x-axis. |
float | 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(float, float, Size)
Initializes a new instance of the SkewProcessor class.
Declaration
public SkewProcessor(float degreesX, float degreesY, Size sourceSize)
Parameters
Type | Name | Description |
---|---|---|
float | degreesX | The angle in degrees to perform the skew along the x-axis. |
float | degreesY | The angle in degrees to perform the skew along the y-axis. |
Size | sourceSize | The source image size |
Properties
| Edit this page View SourceDegreesX
Gets the angle of rotation along the x-axis in degrees.
Declaration
public float DegreesX { get; }
Property Value
Type | Description |
---|---|
float |
DegreesY
Gets the angle of rotation along the y-axis in degrees.
Declaration
public float DegreesY { get; }
Property Value
Type | Description |
---|---|
float |