Brushes How-to Topics

The topics in this section provide examples showing how to accomplish brush-related tasks, such as painting gradients or filling an area with a bitmap.

In this section

Topic Description
How to Create a Solid Color Brush
Shows how to create a solid color brush using Direct2D.
How to Create a Linear Gradient Brush
Shows how to create a linear gradient brush using Direct2D.
How to Create a Radial Gradient Brush
Shows how to create a radial gradient brush using Direct2D.
How to Create a Bitmap Brush
Shows how to create a bitmap brush using Direct2D.