O'Reilly logo

XAML Unleashed by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Polyline

Polyline represents a sequence of lines, expressed in its Points property (a collection of Point objects). The following four Polylines are rendered in Figure 7.3:

<StackPanel>  <Polyline Points="0,0 100,100" Stroke="Black" StrokeThickness="10" Margin="4"/>  <Polyline Points="0,0 100,100 200,0" Stroke="Black" StrokeThickness="10"    Margin="4"/>  <Polyline Points="0,0 100,100 200,0 300,100" Stroke="Black" StrokeThickness="10"    Margin="4"/>  <Polyline Points="0,0 100,100 200,0 300,100 100,100" Stroke="Black"    StrokeThickness="10" Margin="4"/></StackPanel>

Image

FIGURE 7.3 Four Polylines, ranging from 2 to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required