NGridGradientStop Class Reference
Inherits from | NSObject |
---|---|
Conforms to | NSCoding NSCopying |
Declared in | NGridGradientStop.h |
+ gradientStopWithColor:offset:
Creates gradient stop.
+ (NGridGradientStop *)gradientStopWithColor:(UIColor *)color offset:(CGFloat)offset
Parameters
color |
Color of the gradient stop. |
---|---|
offset |
Relative offset of the gradient stop, [0, 1], 0 means beginning of the area, 1 means end of the area. |
Declared In
NGridGradientStop.h
– initWithColor:offset:
Initializes gradient stop.
- (id)initWithColor:(UIColor *)color offset:(CGFloat)offset
Parameters
color |
Color of gradient stop. |
---|---|
offset |
Relative offset of gradient stop, [0, 1], 0 means beginning of the area, 1 means end of the area. |
Declared In
NGridGradientStop.h
color
Color of the gradient stop.
@property (nonatomic, retain) UIColor *color
Declared In
NGridGradientStop.h
offset
Relative offset of the gradient stop, [0, 1], 0 means the beginning of the area, 1 means the end of the area.
@property (nonatomic, assign) CGFloat offset
Declared In
NGridGradientStop.h