TKGradientView Class Reference
Inherits from | UIView |
Declared in | TKGradientView.h TKGradientView.m |
Tasks
Gradient Style Properties
-
colors
property -
locations
property -
startPoint
property -
endPoint
property -
type
property
Properties
colors
An array of UIColor
objects defining the color of each gradient stop.
@property (nonatomic, strong) NSArray *colors
Declared In
TKGradientView.h
endPoint
The end point of the gradient when drawn in the layer’s coordinate space.
@property (nonatomic, assign) CGPoint endPoint
Declared In
TKGradientView.h
locations
An optional array of NSNumber objects defining the location of each gradient stop.
@property (nonatomic, strong) NSArray *locations
Declared In
TKGradientView.h