             point0 point0: Vector2,
             point1: Vector2,
             color0: UIColor,
-            color1: UIColor) -> Filter {
+            color1: UIColor) -> GradientGenerator {
                 return { image in
                     
                     let parameters = [

            center center: Vector2,
            color0: UIColor,
            color1: UIColor,
            radius: Double) -> Filter {
                return { image in

                    let parameters = [
                        kCIInputCenterKey: center.CIVector,
                        "inputColor0": color0,
                        "inputColor1": color1,
                        kCIInputImageKey: image
                    ]
                    
                    let filter = CIFilter(name: "CIGaussianGradient", withInputParameters: parameters)

            radius0: Double,
            radius1: Double,
            color0: UIColor,
            color1: UIColor) -> GradientGenerator {
                return { image in
                    
                    let parameters = [
