 	}
 	
 	override func touchesCancelled(touches: Set<UITouch>?, withEvent event: UIEvent?) {
-		touchesEnded(touches!, withEvent: event)
+		touchesEnded(touches!, with: event)
 	}
 	
 	// MARK: - Pre render

	
	// MARK: - Render
	
	override func drawRect(rect: CGRect) {
		super.drawRect(rect)
		
		if preRenderImage != nil {
			preRenderImage.drawInRect(self.bounds)
		}
		
		bezierPath.lineWidth = lineWidth

		
		UIGraphicsBeginImageContextWithOptions(self.bounds.size, false, 0.0)
		if preRenderImage != nil {
			preRenderImage.draw(in: self.bounds)
		}
		
		bezierPath.lineWidth = lineWidth
