 //
 
 import Foundation
+
+public typealias GradientGenerator = () -> CIImage
 
 public extension LightRoom {
     

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

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