EdgeInsets

public struct EdgeInsets : Equatable

The inset distances for the sides of a rectangle.

  • top

    Declaration

    Swift

    public var top: CGFloat
  • Declaration

    Swift

    public var leading: CGFloat
  • Declaration

    Swift

    public var bottom: CGFloat
  • Declaration

    Swift

    public var trailing: CGFloat
  • Initializes a “zero” EdgeInsets instance.

    Declaration

    Swift

    public init()
  • Initializes an EdgeInsets instance with the specified insets of each side.

    Declaration

    Swift

    public init(top: CGFloat, leading: CGFloat, bottom: CGFloat, trailing: CGFloat)
  • Declaration

    Swift

    public static func == (a: EdgeInsets, b: EdgeInsets) -> Bool