Inset Structure |
Namespace: WebSupergoo.WordGlue4
The Inset type exposes the following members.
| Name | Description | |
|---|---|---|
| Inset(Double) |
Construct an Inset given one value to be
applied to each of the components.
|
|
| Inset(Double, Double, Double, Double) |
Construct an Inset given four values.
|
| Name | Description | |
|---|---|---|
| Bottom |
The amount of inset for the bottom.
|
|
| IsEmpty |
Whether the inset has all zero values
|
|
| Left |
The amount of inset for the left.
|
|
| Right |
The amount of inset for the right.
|
|
| Top |
The amount of inset for the top.
|
| Name | Description | |
|---|---|---|
| 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
|
|
| Equals |
Compare for equality.
(Overrides ValueTypeEquals(Object).) |
|
| GetHashCode |
Obtain a hash code for the Inset.
(Overrides ValueTypeGetHashCode.) |
|
| Map |
Generate an Inset which will map one Rect to
another.
|
|
| 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.
|
|
| 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.
|
|
| ToString |
Convert the Inset to a human readable string
such as \'X=10; Y=20; W=100; H=200\'.
(Overrides ValueTypeToString.) |
|
| ToString(IFormatProvider) |
Convert the Inset to a human readable string
such as \'X=10; Y=20; W=100; H=200\'.
|
| Name | Description | |
|---|---|---|
| Addition(Inset, Inset) |
Combine two Insets by adding the values in one
to the other.
|
|
| Addition(Rect, Inset) |
Combine a Rect with an Inset to produce a rect
which has been inset.
|
|
| Addition(Size, Inset) |
Combine a Size with an Inset to produce a rect
which has been inset.
|
|
| Equality |
Compare two Insets for equality.
|
|
| Inequality |
Compare two Insets for inequality.
|
|
| Subtraction |
Combine two Insets by subtracting the values
in one from the other.
|
|
| UnaryNegation |
Negate the inset - so an inset becomes an
outset and vice versa.
|