ios UIBezierPath 연습 1 (원그리기, 호그리기,선그리기)
ios UIBezierPath 연습 1 (원그리기, 호그리기,선그리기) import UIKit @IBDesignable class LineView: UIView { //@IBInspectable var lineCount:Int = 10 //5 간격 var divid = 10.0 var width = 0.0 var height = 0.0 override func draw(_ rect: CGRect) { width = bounds.width height = bounds.height // 300, 300 print("view width : \(width)") print("view height : \(height)") let linePath = UIBezierPath() //[1] 세로 300 y축 10의 간격..