Commit dd7019e0 by Daniel Dahan

development: added open accessor for UIImage filter blur

parent 77bc4175
...@@ -281,7 +281,7 @@ extension UIImage { ...@@ -281,7 +281,7 @@ extension UIImage {
- Parameter saturationDeltaFactor: The delta factor for the saturation of the blur effect. - Parameter saturationDeltaFactor: The delta factor for the saturation of the blur effect.
- Returns: a UIImage. - Returns: a UIImage.
*/ */
func blur(radius: CGFloat = 0, tintColor: UIColor? = nil, saturationDeltaFactor: CGFloat = 0) -> UIImage? { open func blur(radius: CGFloat = 0, tintColor: UIColor? = nil, saturationDeltaFactor: CGFloat = 0) -> UIImage? {
var effectImage = self var effectImage = self
let screenScale = Device.scale let screenScale = Device.scale
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment