UIEdgeInsets

extension UIEdgeInsets
  • 获取相对设计图宽度等比例缩放insets

    Declaration

    Swift

    public var relativeValue: UIEdgeInsets { get }
  • 获取相对设计图宽度等比例缩放时的固定insets

    Declaration

    Swift

    public var fixedValue: UIEdgeInsets { get }
  • 获取基于当前设备的倍数像素取整insets

    Declaration

    Swift

    public var flatValue: UIEdgeInsets { get }
  • 获取向上取整insets

    Declaration

    Swift

    public var ceilValue: UIEdgeInsets { get }