Table of Contents

Class TransformState

Namespace
NAPS2.Images
Assembly
NAPS2.Images.dll
public record TransformState : IEquatable<TransformState>
Inheritance
TransformState
Implements
Inherited Members

Constructors

TransformState(ImmutableList<Transform>)

public TransformState(ImmutableList<Transform> Transforms)

Parameters

Transforms ImmutableList<Transform>

Fields

Empty

public static readonly TransformState Empty

Field Value

TransformState

Properties

IsEmpty

public bool IsEmpty { get; }

Property Value

bool

Transforms

public ImmutableList<Transform> Transforms { get; init; }

Property Value

ImmutableList<Transform>

Methods

AddOrSimplify(Transform)

public TransformState AddOrSimplify(Transform transform)

Parameters

transform Transform

Returns

TransformState

Equals(TransformState?)

Indicates whether the current object is equal to another object of the same type.

public virtual bool Equals(TransformState? other)

Parameters

other TransformState

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.