Export (0) Print
Expand All

Filling a Shape with a Color Gradient

You can fill a shape with a gradually changing color by using a gradient brush. Windows GDI+ provides linear gradient brushes and path gradient brushes. The following illustration shows a rectangle filled with a linear gradient brush and an ellipse filled with a path gradient brush.

Illustration showing a rectangle that filled from top left to lower right, and an ellipse that fills from center to edge

For more information about gradient brushes, see Filling Shapes With a Gradient Brush.

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft