May 2010
Intermediate to advanced
1272 pages
61h 18m
English
RadialGradientBrushThe RadialGradientBrush brush works exactly like the LinearGradientBrush, except that it creates a circular gradient. The following code shows how it is possible to apply such a brush to an Ellipse:

You are not limited to the Ellipse shape, but for demo purposes it is the one that best fits the example. Figure 33.3 shows the result of the brush applied.
Figure 33.3 The result of the RadialGradientBrush.

The Visual Basic code for applying the brush at runtime is similar to the one for the linear gradient. The following ...
Read now
Unlock full access