|
|
|
@ -122,11 +122,7 @@ namespace SixLabors.ImageSharp.ColorSpaces |
|
|
|
public bool IsEmpty => this.Equals(Empty); |
|
|
|
|
|
|
|
/// <inheritdoc />
|
|
|
|
public Vector3 Vector |
|
|
|
{ |
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
get => this.backingVector; |
|
|
|
} |
|
|
|
public Vector3 Vector => this.backingVector; |
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Compares two <see cref="HunterLab"/> objects for equality.
|
|
|
|
@ -140,7 +136,6 @@ namespace SixLabors.ImageSharp.ColorSpaces |
|
|
|
/// <returns>
|
|
|
|
/// True if the current left is equal to the <paramref name="right"/> parameter; otherwise, false.
|
|
|
|
/// </returns>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
public static bool operator ==(HunterLab left, HunterLab right) |
|
|
|
{ |
|
|
|
return left.Equals(right); |
|
|
|
@ -158,7 +153,6 @@ namespace SixLabors.ImageSharp.ColorSpaces |
|
|
|
/// <returns>
|
|
|
|
/// True if the current left is unequal to the <paramref name="right"/> parameter; otherwise, false.
|
|
|
|
/// </returns>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
public static bool operator !=(HunterLab left, HunterLab right) |
|
|
|
{ |
|
|
|
return !left.Equals(right); |
|
|
|
@ -187,7 +181,6 @@ namespace SixLabors.ImageSharp.ColorSpaces |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
[MethodImpl(MethodImplOptions.AggressiveInlining)] |
|
|
|
public override bool Equals(object obj) |
|
|
|
{ |
|
|
|
return obj is HunterLab other && this.Equals(other); |
|
|
|
|