Table of Contents

Method AreSizesClose

Namespace
Alternet.Common.Wpf
Assembly
Alternet.Common.Wpf.v9.dll

AreSizesClose(Size, Size)

Indicates whether specified parameters is close to each other.

public static bool AreSizesClose(Size d1, Size d2)

Parameters

d1 Size

First value to process.

d2 Size

Second value to process.

Returns

bool

true if difference between Size.Width and Size.Height of specified parameters less then Epsilon; otherwise false.