NGridGradientBrush Class Reference
| Inherits from | NGridBrush : NSObject |
|---|---|
| Declared in | NGridGradientBrush.h |
– calcMaxDistance:toEdges:
Calculate maximum distance from given point to the edges of given rect.
- (CGFloat)calcMaxDistance:(CGPoint)p toEdges:(CGRect)rectParameters
p |
Point to find maximal distance from. |
|---|---|
rect |
Rect to find maximal distance to. |
Declared In
NGridGradientBrush.h
– gradient
Create instance of CGGradient used as low-level gradient tool.
- (CGGradientRef)gradientDeclared In
NGridGradientBrush.h
gradientStops
Mutable array of gradient stops (see NGridGradientStop) controlling gradient colors and their positions.
@property (nonatomic, retain) NSMutableArray *gradientStopsDeclared In
NGridGradientBrush.h
gradient
Reference to the instance of CGGradient used as low-level gradient tool.
@property (nonatomic, readonly) CGGradientRef gradientDeclared In
NGridGradientBrush.h