标签:corners err height tco bezier corn 方法 值方法 let
1.
let cornerValue = UIRectCorner.topRight.rawValue|UIRectCorner.bottomRight.rawValue
let corner = UIRectCorner(rawValue: cornerValue)
let path = UIBezierPath.init(roundedRect: wifiLabel.bounds, byRoundingCorners: corner, cornerRadii: CGSize.init(width: 15, height: 15))
2.
let path = UIBezierPath.init(roundedRect: wifiLabel.bounds, byRoundingCorners: [.topRight,.bottomRight], cornerRadii: CGSize.init(width: 15, height: 15))
标签:corners err height tco bezier corn 方法 值方法 let
原文地址:https://www.cnblogs.com/chims-liu-touch/p/9238026.html