UIEdgeInsets Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Edge insets, used to reduce or expand rectangles.
public struct UIEdgeInsets
type UIEdgeInsets = struct
- Inheritance
-
UIEdgeInsets
Constructors
| Name | Description |
|---|---|
| UIEdgeInsets(NFloat, NFloat, NFloat, NFloat) |
Initializes a new UIEdgeInsets with the specified inset values. |
Fields
| Name | Description |
|---|---|
| Bottom |
The bottom inset value. |
| Left |
The left inset value. |
| Right |
The right inset value. |
| Top |
The top inset value. |
| Zero |
An instance with all of the UIEdgeInsets parameters set to zero. |
Methods
| Name | Description |
|---|---|
| Equals(Object) |
Determines whether the specified object is equal to this instance. |
| Equals(UIEdgeInsets) |
Determines whether the specified UIEdgeInsets is equal to this instance. |
| FromString(String) |
Creates a UIEdgeInsets from a string representation. |
| GetHashCode() |
Returns the hash code for this UIEdgeInsets. |
| InsetRect(CGRect) |
Adjusts a rectangle by the given edge insets. |
| ToString() |
Returns a string representation of the edge insets. |
Operators
| Name | Description |
|---|---|
| Equality(UIEdgeInsets, UIEdgeInsets) |
Determines whether two UIEdgeInsets instances are equal. |
| Inequality(UIEdgeInsets, UIEdgeInsets) |
Determines whether two UIEdgeInsets instances are not equal. |