15.02.2015 Views

C# 4 and .NET 4

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

992 ❘ ChaPTer 35 cOre wpf<br />

radialgradientbrush<br />

<br />

<br />

<br />

<br />

<br />

<br />

With the RadialGradientBrush you can smooth the color in a radiant way. In Figure 35-8, the<br />

third element is a Path that uses RadialGradientBrush. This brush defines the color start with the<br />

GradientOrigin point:<br />

drawingbrush<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

The DrawingBrush allows you to define a drawing that is painted with the brush. The drawing that is<br />

shown with the brush is defined within a GeometryDrawing element. The GeometryGroup, which you<br />

can see within the Geometry property, consists of the Geometry elements that were discussed earlier in<br />

this chapter:<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

Blue<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

www.it-ebooks.info

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!