Table of Contents

Class CorrectionTransform

Namespace
NAPS2.Images.Transforms
Assembly
NAPS2.Images.dll
public record CorrectionTransform : Transform, IEquatable<Transform>, IEquatable<CorrectionTransform>
Inheritance
CorrectionTransform
Implements
Inherited Members

Constructors

CorrectionTransform()

public CorrectionTransform()

CorrectionTransform(CorrectionMode)

public CorrectionTransform(CorrectionMode mode)

Parameters

mode CorrectionMode

Properties

IsNull

Gets a value that indicates whether the transform is a null transformation (i.e. has no effect).

public override bool IsNull { get; }

Property Value

bool

Mode

public CorrectionMode Mode { get; }

Property Value

CorrectionMode

Methods

CanSimplify(Transform)

Determines if this transform performed after another transform can be combined to form a single transform.

public override bool CanSimplify(Transform other)

Parameters

other Transform

Returns

bool

Simplify(Transform)

Combines this transform with a previous transform to form a single new transform.

public override Transform Simplify(Transform other)

Parameters

other Transform

Returns

Transform