RadialFocusFilter

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKRadialFocusFilter)
open class RadialFocusFilter : CIFilter

Applies a radial focus to an instance of CIImage.

Properties

  • The input image.

    Declaration

    Swift

    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 the inputImage, y is relative to the height of the inputImage.

    Declaration

    Swift

    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 the inputImage, y is relative to the height of the inputImage.

    Declaration

    Swift

    open var inputNormalizedControlPoint2: NSValue?
  • The blur radius to use for focus. Default is 10.

    Declaration

    Swift

    open var inputRadius: NSNumber?
  • The fade width to use for focus. Default is 0.

    Declaration

    Swift

    open var inputFadeWidth: NSNumber?
  • The quality that should be used expressed as BlurQuality raw values. BlurQuality.low should be used only during preview.

    Declaration

    Swift

    open var inputBlurQuality: NSNumber?