[]
Describes the thickness of a frame around a rectangle. Four System.Double values describe the C1Thickness.Left, C1Thickness.Top, C1Thickness.Right, and C1Thickness.Bottom sides of the rectangle, respectively.
public struct C1Thickness : ICloneable
Name | Description |
---|---|
C1Thickness(double) | Initializes a C1Thickness structure that has the specified uniform length on each side. |
C1Thickness(double, double, double, double) | Initializes a C1Thickness structure that has specific lengths (supplied as a System.Double) applied to each side of the rectangle. |
Name | Description |
---|---|
Bottom | Gets or sets the width, in pixels, of the lower side of the bounding rectangle. |
IsUniform | Gets whether the thickness is uniform. |
IsZero | Gets whether the thickness is zero in all edges. |
Left | Gets or sets the width, in pixels, of the left side of the bounding rectangle. |
Right | Gets or sets the width, in pixels, of the right side of the bounding rectangle. |
Top | Gets or sets the width, in pixels, of the upper side of the bounding rectangle. |
Name | Description |
---|---|
Clone() | Creates a new object that is a copy of the current instance. |
Equals(object) | Determines whether the specified object, is equal to this instance. |
GetHashCode() | Returns a hash code for this instance. |
ToString() | Gets a string representation of C1Thickness |
Name | Description |
---|---|
operator ==(C1Thickness, C1Thickness) | Compares two C1Thickness structures for equality. |
implicit operator C1Thickness(double) | Casting operator to convert a double into a uniform C1Thickness. |
implicit operator C1Thickness(string) | Casting operator to convert a string into a C1Thickness. |
operator !=(C1Thickness, C1Thickness) | Compares two C1Thickness structures for inequality. |