Gradients and Patterns

You can specify a gradient color or a pattern when you implement a transitional paint effect.

The following properties let you specify a gradient color, which starts as one color and ends as another, with the specified number of transitional colors from start to end. The direction of the transition depends on the gradient style.

GradientStyle property

GradientStartColor property

GradientEndColor property

GradientSteps property

The following properties let you specify a pattern or solid color:

PatternStyle property

PatternBackColor property

PatternForeColor property

The usage of gradients and patterns varies as follows:

image\sqrblit.gif For painting transitions, described in Using Special Effects When Painting, you always use a gradient or pattern to achieve the effect.