FocusGradientView
@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
fileprivate(set) open var centerPoint = CGPoint.zero
-
The control points.
Declaration
Swift
open var controlPoints = (CGPoint.zero, CGPoint.zero)
-
The absolute fade width value. This value is between 0 and 100.
Declaration
Swift
open var fadeWidth = CGFloat(10)
-
The normalized fade width.
Declaration
Swift
open var normalizedFadeWidth: CGFloat
-
The color of the gradient view.
Declaration
Swift
open var color = UIColor.white