The Brush class is used to fill background.
Brush
<NSCoding>
Classes that are used to work with various brush types:
GradientBrush. Basic class that is used to work with gradient.
LinearGradientBrush. Brush for linear gradient fill.
RadialGradientBrush. Brush for radial gradient fill.
SolidColorBrush. Brush for solid color fill.
opacity. Brush transparency.
mainColor. Main brush color.
applyToContext:path:rect:. Applies brush parameters for the specified graphic context.
dumpConfigurationToDict. Returns the object to which the brush parameters are loaded.
brushWithDict:. Creates a brush instance according to the specified parameters.
See also: