<Pen Brush="Blue" Thickness="1" DashCap="Flat|Round|Square|Triangle" EndLineCap="Flat|Round|Square|Triangle" LineJoin="Bevel|Miter|Round" MiterLimit="1" StartLineCap="Flat|Round|Square|Triangle" /> <Pen .../> describes how an element is outlined. Figure 7-8 shows two drawings, each drawn with a different Pen. The first Pen is black with a thickness of 2 and uses triangle and Round as start and end line caps. The second Pen is blue with a thickness of 1 and uses Square and Flat as start and end line caps. The code to produce this figure is shown in Example 7-5. Figure 7-8. Different styles of PenAttributes
|