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 }