GradientBrush

Description

The GradientBrush class is used for background gradient fill.

Inheritance Hierarchy

          NSObject

          Brush

          GradientBrush

Supported Protocols

<NSCoding>

<NSCopying>

Categories

GradientBrush(Charting)

Comments

Classes that are used to work with various types of gradient:

Properties

gradientStops. Gradient transition point.

Properties inherited from Brush

opacity. Brush transparency.

mainColor. Main brush color.

Methods

calcMaxDistance:toEdges:. Calculates maximum distance between the specified point and borders of rectangular area.

gradient. Creates an instance of gradient object.

Methods inherited from Brush

applyToContext:path:rect:. Applies brush parameters for the specified graphic context.

Methods added from GradientBrush(Charting)

dumpGradientStops. Returns object that stores parameters of gradient colors and their positions.

Methods added from Brush(Charting)

dumpConfigurationToDict. Returns the object to which the brush parameters are loaded.

Static methods added from Brush(Charting)

brushWithDict:. Creates a brush instance according to the specified parameters.

See also:

Working with Common Classes