Structure

EdgeInsets

Edge insets describe the distance between the edges of one rectangle to a related rectangle that can be described by measuring a constant but edge-specific distance from each edge.

Overview

A common use for this structure is to describe the relationship between a view’s frame and its alignment rectangle.

Symbols

Instance Properties

var bottom: CGFloat

The distance from the bottom of the source rectangle to the bottom of the result rectangle.

var left: CGFloat

The distance from the left side of the source rectangle to the left side of the result rectangle.

var right: CGFloat

The distance from the right side of the source rectangle to the right side of the result rectangle.

var top: CGFloat

The distance from the top of the source rectangle to the top of the result rectangle.