RadialFocusFilter
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKRadialFocusFilter)
open class RadialFocusFilter : CIFilter
Applies a radial focus to an instance of CIImage
.
-
The input image.
Declaration
Swift
@objc open var inputImage: CIImage?
-
The first normalized control point of the focus. This control point should use the coordinate system of Core Image, which means that (0, 0) is at the bottom left.
x
is relative to the width of theinputImage
,y
is relative to the height of theinputImage
.Declaration
Swift
@objc open var inputNormalizedControlPoint1: NSValue?
-
The second normalized control point of the focus. This control point should use the coordinate system of Core Image, which means that (0, 0) is at the bottom left.
x
is relative to the width of theinputImage
,y
is relative to the height of theinputImage
.Declaration
Swift
@objc open var inputNormalizedControlPoint2: NSValue?
-
The blur radius to use for focus. Default is 10.
Declaration
Swift
@objc open var inputRadius: NSNumber?
-
The fade width to use for focus. Default is 0.
Declaration
Swift
@objc open var inputFadeWidth: NSNumber?
-
The quality that should be used. Low should be used only during preview.
Declaration
Swift
@objc open var inputBlurQuality: BlurQuality