How can I prevent closing Bezier Path

前端 未结 1 1197
夕颜
夕颜 2021-01-23 18:14

I want to create a Bezier curve, and create a collision boundary for my object.

let firstSurfacePoint = CGPoint(x: 30, y: 120)
let secondSurfacePoint = CGPoint(x         


        
相关标签:
1条回答
  • 2021-01-23 18:31
    currentPath.fillColor = nil
    

    or

    currentPath.fillColor = UIColor.clearColor().CGColor
    
    0 讨论(0)
提交回复
热议问题