Table of Contents

Class RotationTransform

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

Constructors

RotationTransform()

public RotationTransform()

RotationTransform(double)

public RotationTransform(double angle)

Parameters

angle double

Fields

TOLERANCE

public const double TOLERANCE = 0.001

Field Value

double

Properties

Angle

public double Angle { get; }

Property Value

double

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

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

NormalizeAngle(double)

public static double NormalizeAngle(double angle)

Parameters

angle double

Returns

double

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