iOS 15.5, Xcode 13.31, Swift 5, UIKit 환경에서 진행했습니다. import UIKit class MyCustomView: UIView { override init(frame: CGRect) { super.init(frame: frame) setup() } required init?(coder: NSCoder) { super.init(coder: coder) setup() } func setup() { let shapedLayer = CAShapeLayer() shapedLayer.path = createBezierPath().cgPath shapedLayer.strokeColor = UIColor.blue.cgColor shapedLayer.fillColor = UIColor..