Size Methods |
The Size type exposes the following members.
| Name | Description | |
|---|---|---|
| Abs |
Returns the absolute width and height of the specified size | |
| Ceiling |
Converts a floating point size to an integral size by rounding the width and height to the
next integral value.
| |
| Contains(Point) | ||
| Contains(Int32, Int32) | ||
| Equals(Object) |
Compares this size to the specified obj (Overrides ValueTypeEquals(Object).) | |
| Equals(Size) |
Compares this size to the other size
| |
| FitTo |
Fits this size to the specified constraint, keeping the aspect
| |
| GetHashCode |
Gets the hash code for this Size
(Overrides ValueTypeGetHashCode.) | |
| Max |
Returns the maximum width and height of two sizes
| |
| Min |
Returns the minimum width and height of two sizes
| |
| Round |
Converts a floating point size to an integral size by rounding the width and height
| |
| ToString |
Converts this Size struct to a string
(Overrides ValueTypeToString.) | |
| Truncate |
Converts a floating point size to an integral size by truncating the width and height
|