Table of Contents

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 float

The angle in degrees to perform the skew along the x-axis.

degreesY float

The angle in degrees to perform the skew along the y-axis.

sampler IResampler

The sampler to perform the skew operation.

sourceSize Size

The 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 float

The angle in degrees to perform the skew along the x-axis.

degreesY float

The angle in degrees to perform the skew along the y-axis.

sourceSize Size

The source image size

Properties

DegreesX

Gets the angle of rotation along the x-axis in degrees.

public float DegreesX { get; }

Property Value

float

DegreesY

Gets the angle of rotation along the y-axis in degrees.

public float DegreesY { get; }

Property Value

float