Summary
Compares two Size instances for fuzzy equality. This function
helps compensate for the fact that double values can
acquire error when operated upon
- Namespace
- MahApps
.Metro .Controls - Containing Type
- Utils
Syntax
public static bool IsCloseTo(this Size size1, Size size2)
Parameters
Name | Type | Description |
---|---|---|
size1 | Size | The first size to compare |
size2 | Size | The second size to compare |
Return Value
Type | Description |
---|---|
bool | Whether or not the two Size instances are equal |