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
Properties
Angle
public double Angle { get; }
Property Value
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
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
NormalizeAngle(double)
public static double NormalizeAngle(double angle)
Parameters
angle
double
Returns
Simplify(Transform)
Combines this transform with a previous transform to form a single new transform.
public override Transform Simplify(Transform other)
Parameters
other
Transform