Inset Methods

The Inset type exposes the following members.

Methods
  Name Description
Public method CompareTo
Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object
Public method Equals
Compare for equality.
(Overrides ValueTypeEquals(Object).)
Public method GetHashCode
Obtain a hash code for the Inset.
(Overrides ValueTypeGetHashCode.)
Public methodStatic member Map
Generate an Inset which will map one Rect to another.
Public methodStatic member Max
Combine two Insets to produce the maximum Inset. The maximum is the maximum value of each component to produce the greatest possible inset or least possible outset.
Public methodStatic member Min
Combine two Insets to produce the minimum Inset. The minimum is the minimum value of each component to produce the least possible inset or greatest possible outset.
Public method ToString
Convert the Inset to a human readable string such as \'X=10; Y=20; W=100; H=200\'.
(Overrides ValueTypeToString.)
Public method ToString(IFormatProvider)
Convert the Inset to a human readable string such as \'X=10; Y=20; W=100; H=200\'.
Top
See Also