EdgeInsets

extension EdgeInsets
  • 静态zero边距

    Declaration

    Swift

    public static var zero: `Self` { get }
  • 自定义指定边长度,默认为0

    Declaration

    Swift

    public init(_ edges: Edge.Set = .all, _ length: CGFloat? = nil)