Skip to content

SplatColor.Equals(object?) method

Defined in

Type: SplatColor Namespace: Splat Assembly: Splat.Drawing.dll

Applies to

net11.0, net11.0-maccatalyst27.2, net11.0-windows10.0.19041, net11.0-android37.0, net11.0-macos27.2, net11.0-tvos27.2, net11.0-ios27.2, net10.0, net10.0-windows10.0.19041, net10.0-android36.0, net10.0-tvos26.0, net10.0-macos26.0, net10.0-ios26.0, net10.0-maccatalyst26.0, net10.0-windows10.0.17763, net48, net47, net472, net471, net481

Overloads

  1. public override readonly bool Equals(object? obj)

  2. public readonly bool Equals(SplatColor other)

1. Overload

public override readonly bool Equals(object? obj)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from ValueType. The member doesn't override them on this type.

Summary: Indicates whether this instance and a specified object are equal.

Parameters

NameTypeDescription
objobject? (opens in a new tab)The object to compare with the current instance.

Returns: bool (opens in a new tab) -- true if obj and this instance are the same type and represent the same value; otherwise, false.

2. Overload

public readonly bool Equals(SplatColor other)

View source (opens in a new tab)

Inherited documentation

These docs were inherited from IEquatable<SplatColor>. The member doesn't override them on this type.

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

Parameters

NameTypeDescription
other[SplatColor](#Splat.SplatColor)An object to compare with this object.

Returns: bool (opens in a new tab) -- true if the current object is equal to the other parameter; otherwise, false.