Method Equals
Equals(object?)
This function compares to the provided object for type and value equality.
public override readonly bool Equals(object? obj)
Parameters
objobjectObject to compare
Returns
- bool
True if object is a Thickness and all sides of it are equal to this Thickness.
Equals(Thickness)
Compares this instance of Thickness with another instance.
public readonly bool Equals(Thickness thickness)
Parameters
thicknessThicknessThickness instance to compare.
Returns
- bool
trueif this Thickness instance has the same value and unit type as thickness.