GradientView
open class GradientView : UIView
Creates gradient view
-
Start point of gradient, by default (0.0, 0.5).
Declaration
Swift
open var startPoint: CGPoint { get set }
-
End point of gradient, by default (0.0, 0.5).
Declaration
Swift
open var endPoint: CGPoint { get set }
-
Start color of gradient.
Declaration
Swift
open var startColor: UIColor { get set }
-
End color of gradient.
Declaration
Swift
open var endColor: UIColor { get set }
-
Convenience initializer to create an instance of
GradientView
usingGradientColor
See also
SeeAlso:-GradientColor
Declaration
Swift
public convenience init(gradient: GradientColor)
Parameters
gradient
GradientColor defination, see
GradientColor