ADKGradientView Class Reference

Inherits from UIView
Declared in ADKGradientView.h
ADKGradientView.m

Other Methods

– redrawView

Asking current view needs to redraw itself. if you change any setting after initialized, you might need to redraw view to display the newest setting.

- (void)redrawView

Declared In

ADKGradientView.h

Other Methods

  beginColor

Painting gradient start from specific UIColor.

@property (nonatomic, strong) IBInspectable UIColor *beginColor

Declared In

ADKGradientView.h

  endColor

Painting gradient end at specific UIColor.

@property (nonatomic, strong) IBInspectable UIColor *endColor

Declared In

ADKGradientView.h

  blendsType

Decide how to paint gradient on this view.

@property (nonatomic, assign) ADKBlendsType blendsType

Declared In

ADKGradientView.h