Upravit

Sdílet prostřednictvím


UIEdgeInsets Struct

Definition

Edge insets, used to reduce or expand rectangles.

public struct UIEdgeInsets
type UIEdgeInsets = struct
Inheritance
UIEdgeInsets

Constructors

UIEdgeInsets(nfloat, nfloat, nfloat, nfloat)

Public constructor.

Fields

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

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

Equality(UIEdgeInsets, UIEdgeInsets)

Returns true if the insets contain equal values. Otherwise, returns false.

Inequality(UIEdgeInsets, UIEdgeInsets)

Returns true if the insets contain different values. Otherwise, returns false.

Applies to

See also