ADKMultiGradientView Class Reference
Inherits from | UIView |
---|---|
Declared in | ADKMultiGradientView.h ADKMultiGradientView.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
ADKMultiGradientView.h
Other Methods
gradientColors
The colors that use to describe gradient colors. It has to contain UIColor elements.
@property (nonatomic, strong) NSArray<UIColor*> *gradientColors
Declared In
ADKMultiGradientView.h
gradientLocations
The locations that use to locate gradient color’s position. It musts contain NSnumber with CGFloat elements and each value needs from 0.0f to 1.0f.
@property (nonatomic, strong) NSArray<NSNumber*> *gradientLocations
Declared In
ADKMultiGradientView.h
blendsType
Decide how to paint gradient on this view.
@property (nonatomic, assign) ADKBlendsType blendsType
Declared In
ADKMultiGradientView.h