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

//

import Foundation

public extension LightRoom {
    

                        "inputPoint1": point1.CIVector,
                        "inputColor0": color0,
                        "inputColor1": color1,
                    ]
                    
                    let filter = CIFilter(name: "CISmoothLinearGradient", withInputParameters: parameters)
