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
degreesXfloatThe angle in degrees to perform the skew along the x-axis.
degreesYfloatThe angle in degrees to perform the skew along the y-axis.
samplerIResamplerThe sampler to perform the skew operation.
sourceSizeSizeThe source image size
SkewProcessor(float, float, Size)
Initializes a new instance of the SkewProcessor class.
public SkewProcessor(float degreesX, float degreesY, Size sourceSize)
Parameters
degreesXfloatThe angle in degrees to perform the skew along the x-axis.
degreesYfloatThe angle in degrees to perform the skew along the y-axis.
sourceSizeSizeThe 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; }