Table of Contents

Class HueTransform

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

Constructors

HueTransform()

public HueTransform()

HueTransform(int)

public HueTransform(int hueShift)

Parameters

hueShift int

Properties

HueShift

public int HueShift { get; }

Property Value

int

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

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