Freigeben über


LayoutDoubleUtil Class

Contains utilities for making layout comparisons.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.PlatformUI.LayoutDoubleUtil

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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
Public methodStatic member AreClose(Double, Double) Determines whether the absolute value of the difference between the specified values is less than the double value 0.00000153.
Public methodStatic member 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.
Public methodStatic member 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.
Public methodStatic member 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.

See Also

Reference

Microsoft.VisualStudio.PlatformUI Namespace