     private var ctr: Int = 0
     
     @IBInspectable private var strokeColor: UIColor = UIColor.black
-    @IBInspectable private var bgColor: UIColor = UIColor.white
     @IBInspectable private var lineWidth: CGFloat = 3.0
     
     weak open var delegate: SignaturePadDelegate?

    
    func drawBitmap() -> Void {
        UIGraphicsBeginImageContextWithOptions(self.bounds.size, true, 0.0)
        UIColor.black.setStroke()
        if incrementalImage == nil {
            let rectPath = UIBezierPath(rect: self.bounds)
            UIColor.white.setFill()
            rectPath.fill()
        }
        incrementalImage?.draw(at: CGPoint.zero)
        path.stroke()
        dot.fill()
        incrementalImage = UIGraphicsGetImageFromCurrentImageContext()

    public override init(frame: CGRect) {
        super.init(frame: frame)
        self.isMultipleTouchEnabled = false
        self.strokeColor.setStroke()
        path = UIBezierPath()
        path.lineWidth = lineWidth
    }
