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)rect
Parameters
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)gradient
Declared In
NGridGradientBrush.h
gradientStops
Mutable array of gradient stops (see NGridGradientStop) controlling gradient colors and their positions.
@property (nonatomic, retain) NSMutableArray *gradientStops
Declared In
NGridGradientBrush.h
gradient
Reference to the instance of CGGradient used as low-level gradient tool.
@property (nonatomic, readonly) CGGradientRef gradient
Declared In
NGridGradientBrush.h