Structure

EdgeInsets

The inset distances for the sides of a rectangle.

Declaration

@frozen struct EdgeInsets

Relationships

Conforms To

See Also

Adjusting the Padding of a View

func padding(CGFloat) -> View

Pads the view along all edge insets by the specified amount.

func padding(EdgeInsets) -> View

Pads the view using the specified edge insets.

func padding(Edge.Set, CGFloat?) -> View

Pads the view using the specified edge insets.