The GradientBrush class is used for background gradient fill.
GradientBrush
<NSCoding>
Classes that are used to work with various types of gradient:
LinearGradientBrush. Brush for linear gradient fill.
RadialGradientBrush. Brush for radial gradient fill.
gradientStops. Gradient transition point.
calcMaxDistance:toEdges:. Calculates maximum distance between the specified point and borders of rectangular area.
gradient. Creates an instance of gradient object.
applyToContext:path:rect:. Applies brush parameters for the specified graphic context.
dumpGradientStops. Returns object that stores parameters of gradient colors and their positions.
dumpConfigurationToDict. Returns the object to which the brush parameters are loaded.
brushWithDict:. Creates a brush instance according to the specified parameters.
See also: