BlurFilter
public struct BlurFilter: ImageFilter
Blurs an image using a CIGaussianBlur
filter with the specified blur radius.
-
Initializes the
BlurFilter
instance with the given blur radius.Declaration
Swift
public init(blurRadius: UInt = 10)
-
The filter closure used to create the modified representation of the given image.
Declaration
Swift
public var filter: (Image) -> Image