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 15.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 15.3 Four Polylines, ...

Get Universal Windows® Apps with XAML and C# Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.