Table of Contents

Method AreCloseSize

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

AreCloseSize(SizeD, SizeD)

Determines whether two SizeD instances are approximately equal by comparing their width and height values.

public static bool AreCloseSize(SizeD size1, SizeD size2)

Parameters

size1 SizeD

The first SizeD instance to compare.

size2 SizeD

The second SizeD instance to compare.

Returns

bool

true if the width and height of size1 are approximately equal to the width and height of size2; otherwise, false.