Thickness structure
Represents the thickness of a border or margin (left, top, right, bottom).
public struct Thickness : IEquatable<Thickness>Public Members
Section titled “Public Members”| name | description |
|---|---|
| Thickness(…) | Initializes a new instance of the Thickness struct with a uniform value. (3 constructors) |
| static readonly Zero | Gets a zero thickness (0 on all sides). |
| Bottom { get; } | Gets the bottom thickness. |
| HorizontalThickness { get; } | Gets the combined left and right thickness. |
| IsUniform { get; } | Gets a value indicating whether all sides have the same thickness. |
| Left { get; } | Gets the left thickness. |
| Right { get; } | Gets the right thickness. |
| Top { get; } | Gets the top thickness. |
| VerticalThickness { get; } | Gets the combined top and bottom thickness. |
| override Equals(…) | |
| Equals(…) | Determines whether this instance is equal to another thickness. |
| override GetHashCode() | |
| override ToString() | |
| operator + | Adds two thicknesses component-wise. |
| operator == | Determines whether two thicknesses are equal. |
| implicit operator | Converts a uniform double value to a Thickness. |
| operator != | Determines whether two thicknesses are not equal. |
| operator * | Scales a thickness by a scalar factor. |
| operator - | Subtracts two thicknesses component-wise. |
See Also
Section titled “See Also”- namespace Aprillz.MewUI