Structure

NSDirectionalEdgeInsets

Edge insets that take language direction into account.

Topics

Creating Directional Edge Insets

NSDirectionalEdgeInsetsMake

Returns a directional edge insets struct that contains the specified values.

Getting the Edge Values

bottom

The bottom edge inset value.

leading

The leading edge inset value.

top

The top edge inset value.

trailing

The trailing edge inset value.

Comparing Directional Edge Insets

NSDirectionalEdgeInsetsEqualToDirectionalEdgeInsets

Compares two directional edge insets to determine if they are the same.

Converting To and From a String

NSStringFromDirectionalEdgeInsets

Returns a string formatted to contain the data from a directional edge insets structure.

NSDirectionalEdgeInsetsFromString

Returns a directional edge insets structure based on the data in the specified string.

Getting the Empty Edge Insets

NSDirectionalEdgeInsetsZero

A directional edge insets struct whose top, leading, bottom, and trailing fields are all set to 0.

See Also

Related Types

UIEdgeInsets

The inset distances for views.

UIOffset

Defines a structure that specifies an amount to offset a position.