NChartSolidColorBrush Class Reference

Inherits from NChartBrush : NSObject
Declared in NChartSolidColorBrush.h

Overview

The NChartSolidColorBrush class provides the brush that fills the area with a solid color.

+ solidColorBrushWithColor:

Create brush with color.

+ (NChartSolidColorBrush *)solidColorBrushWithColor:(NSColor *)color

Parameters

color
  • color for the brush.

Return Value

a new instance of the solid color brush.

Declared In

NChartSolidColorBrush.h

– initWithColor:

Init brush with color.

- (id)initWithColor:(NSColor *)color

Parameters

color
  • color for the brush.

Return Value

the initialized instance of a brush.

Declared In

NChartSolidColorBrush.h

  color

Color of the brush.

@property (nonatomic, strong) NSColor *color

Declared In

NChartSolidColorBrush.h