Thickness
Thickness class
Describes the thickness of a frame around a rectangle.
Constructors
| Name |
Description |
| Thickness(double) |
Initializes a new instance of the Thickness class that has the specified uniform length on each side. |
| Thickness(double, double, double, double) |
Initializes a new instance of the Thickness class that has specific lengths applied to each side of the rectangle. |
Properties
| Name |
Description |
| Bottom { get; set; } |
Gets or sets the width of the bottom side of the bounding rectangle. |
| Left { get; set; } |
Gets or sets the width of the left side of the bounding rectangle. |
| Right { get; set; } |
Gets or sets the width of the right side of the bounding rectangle. |
| Top { get; set; } |
Gets or sets the width of the top side of the bounding rectangle. |
Methods
| Name |
Description |
| override Equals(object) |
Determines whether the specified Thickness is equal to the current Thickness. |
| override GetHashCode() |
Returns the hash code for this instance. |
| override ToString() |
Returns the string representation of the Thickness class. |
See Also