Polyline
Polyline
represents a sequence of lines, expressed in its Points
property (a collection of Point
objects). The following four Polyline
s 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>
Get XAML 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.