LinearFocusFilter

@objc(PESDKLinearFocusFilter) open class LinearFocusFilter: CIFilter

Applies a linear focus to an instance of CIImage.

  • 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 top left.

    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 top left.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    open var inputNormalizedFadeWidth: NSNumber?