[진행] {BE} Python 3.1x
core graphics는 snapkit이 먹지 않는다.
class FilledRect : UIView { init(frame: CGRect, level: CGFloat, color: UIColor) { // super.init(frame: frame) super.init(frame: CGRect(x: 0, y: 0, width: 1, height: 0)) //TODO: HAVE self.layer.borderWidth = 1.0 let levelLayer = CAShapeLayer() levelLayer.path = UIBezierPath(roundedRect: CGRect(x: frame.origin.x, y: frame.origin.y, width: frame.width * level, height: frame.height), cornerRadius: 0..
2019. 3. 20. 20:37
최근댓글