LayoutDoubleUtil Class
Contains utilities for making layout comparisons.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.PlatformUI.LayoutDoubleUtil
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public NotInheritable Class LayoutDoubleUtil
public static class LayoutDoubleUtil
public ref class LayoutDoubleUtil abstract sealed
[<AbstractClass>]
[<Sealed>]
type LayoutDoubleUtil = class end
public final class LayoutDoubleUtil
The LayoutDoubleUtil type exposes the following members.
Methods
Name | Description | |
---|---|---|
AreClose(Double, Double) | Determines whether the absolute value of the difference between the specified values is less than the double value 0.00000153. | |
AreClose(Rect, Rect) | Determines whether the absolute values of the differences between the left positions, top positions, heights and widths of the specified rectangles are less than the double value 0.00000153. | |
GreaterThan | Determines whether the first specified value is greater than the second specified value and the values are not within 0.00000153 of each other. | |
LessThan | Determines whether the first specified value is less than the second specified value and the values are not within 0.00000153 of each other. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.