EdgeInsets

struct EdgeInsets

Defines helper extension methods for EdgeInsets.

  • The inset distance for the left edge. In LTR layouts, this value is equal to self.leading. In RTL layouts, this value is equal to self.trailing.

    Declaration

    Swift

    public var left: CGFloat
  • The inset distance for the right edge. In LTR layouts, this value is equal to self.trailing. In RTL layouts, this value is equal to self.leading.

    Declaration

    Swift

    public var right: CGFloat