Initializer

init(top:left:bottom:right:)

No overview available.

Declaration

init(top: CGFloat, left: CGFloat, bottom: CGFloat, right: CGFloat)

Parameters

top

The inset on the top of an object.

left

The inset on the left of an object.

bottom

The inset on the bottom of an object.

right

The inset on the right of an object.

Return Value

An initialized inset structure.

See Also

Creating Edge Insets

init()

Initializes the edge inset struct to default values.