FocusGradientView

@available(iOS 9.0, *)
@objcMembers
@objc(PESDKFocusGradientView)
open class FocusGradientView : UIControl

This class represents a gradient control view. It is used within the focus tool to visualize the chosen focus parameters.

  • The center point between both control points.

    Declaration

    Swift

    open private(set) var centerPoint: CGPoint
  • The control points.

    Declaration

    Swift

    open var controlPoints: (CGPoint, CGPoint) { get set }
  • The absolute fade width value. This value is between 0 and 100.

    Declaration

    Swift

    open var fadeWidth: CGFloat { get set }
  • The normalized fade width.

    Declaration

    Swift

    open var normalizedFadeWidth: CGFloat { get }
  • The color of the gradient view. This property supports being set via a UIAppearance proxy.

    Declaration

    Swift

    open dynamic var color: UIColor { get set }
  • The shadow color of the gradient view. This property supports being set via a UIAppearance proxy.

    Declaration

    Swift

    open dynamic var shadowColor: UIColor { get set }