I created this extension for \"bucket fill\" (flood fill) of touch point:
extension UIImageView { func bucketFill(startPoint: CGPoint, newColor: UIColor