Padding Structure |
Namespace: Eto.Drawing
The Padding type exposes the following members.
| Name | Description | |
|---|---|---|
| Padding(Int32) |
Initializes a new instance of the Padding class with the specified padding for all sides
| |
| Padding(Int32, Int32) |
Initializes a new instance of the Padding class with the specified padding for horizontal and vertical sides
| |
| Padding(Int32, Int32, Int32, Int32) |
Initializes a new instance of the Padding class
|
| Name | Description | |
|---|---|---|
| Bottom |
Gets or sets the padding on the bottom
| |
| Horizontal | ||
| IsZero |
Gets a value indicating that all sides of the padding are zero
| |
| Left |
Gets or sets the padding on the left
| |
| Right |
Gets or sets the padding on the right
| |
| Size |
Gets the padding as a size value with the Horizontal and Vertical values as
the Width and Height, respectively.
| |
| Top |
Gets or sets the padding on the top
| |
| Vertical |
| Name | Description | |
|---|---|---|
| Equals(Object) |
Determines the equality between this instance and the specified object
(Overrides ValueTypeEquals(Object).) | |
| Equals(Padding) |
Determines equality between this instance and the specified padding
| |
| GetHashCode |
Gets the hash code for this Padding instance
(Overrides ValueTypeGetHashCode.) | |
| ToString |
Converts this object to a string
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Addition |
Adds two padding values together
| |
| Equality |
Determines the equality of two padding objects
| |
| (Int32 to Padding) |
Implicitly converts a single integer to a padding with all sides of equal value.
| |
| Inequality |
Determines the inequality of two padding objects
| |
| Subtraction |
Subtracts a padding value from another value
|