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
GradientViewusingGradientColorSee also
SeeAlso:-GradientColorDeclaration
Swift
public convenience init(gradient: GradientColor)Parameters
gradientGradientColor defination, see
GradientColor
View on GitHub
Install in Dash
GradientView Class Reference