Class SkewProcessor
- Namespace
- SixLabors.ImageSharp.Processing.Processors.Transforms
- Assembly
- SixLabors.ImageSharp.dll
Defines a skew transformation applicable to an Image.
public sealed class SkewProcessor : AffineTransformProcessor, ICloningImageProcessor, IImageProcessor
- Inheritance
-
SkewProcessor
- Implements
- Inherited Members
Constructors
SkewProcessor(float, float, IResampler, Size)
Initializes a new instance of the SkewProcessor class.
public SkewProcessor(float degreesX, float degreesY, IResampler sampler, Size sourceSize)
Parameters
degreesX
floatThe angle in degrees to perform the skew along the x-axis.
degreesY
floatThe angle in degrees to perform the skew along the y-axis.
sampler
IResamplerThe sampler to perform the skew operation.
sourceSize
SizeThe source image size
SkewProcessor(float, float, Size)
Initializes a new instance of the SkewProcessor class.
public SkewProcessor(float degreesX, float degreesY, Size sourceSize)
Parameters
degreesX
floatThe angle in degrees to perform the skew along the x-axis.
degreesY
floatThe angle in degrees to perform the skew along the y-axis.
sourceSize
SizeThe source image size
Properties
DegreesX
Gets the angle of rotation along the x-axis in degrees.
public float DegreesX { get; }
Property Value
DegreesY
Gets the angle of rotation along the y-axis in degrees.
public float DegreesY { get; }