Share via


UIEdgeInsets Struct

Definition

Edge insets, used to reduce or expand rectangles.

public struct UIEdgeInsets
type UIEdgeInsets = struct
Inheritance
UIEdgeInsets

Constructors

Name Description
UIEdgeInsets(NFloat, NFloat, NFloat, NFloat)

Fields

Name Description
Bottom

Bottom value.

Left

Left value.

Right

Right value.

Top

Top value.

Zero

An instance with all of the UIEdgeInsets parameters set to zero.

Methods

Name Description
Equals(Object)

Whether this is equivalent to the obj.

Equals(UIEdgeInsets)

Whether this is equivalent to other.

FromString(String)

Creates an edge inset from a string representation.

GetHashCode()

The hash for this UIEdgeInsets.

InsetRect(CGRect)

Adjusts a rectangle by the given edge insets.

ToString()

Returns a human-readable version of the UIEdgeInset properties, for debugging.

Operators

Name Description
Equality(UIEdgeInsets, UIEdgeInsets)
Inequality(UIEdgeInsets, UIEdgeInsets)

Applies to

See also