Table of Contents

Method Equals

Namespace
PaintDotNet.Imaging
Assembly
PaintDotNet.Core.dll

Equals(object?)

Compares two ManagedColors for equality. ManagedColor instances are considered to be equal if they have the same raw color value and are using the same IColorContext.

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(ManagedColor?)

Compares two ManagedColors for equality. ManagedColor instances are considered to be equal if they have the same raw color value and are using the same IColorContext.

public bool Equals(ManagedColor? other)

Parameters

other ManagedColor

Returns

bool