Windows.UI.Xaml.Shapes.Polyline

June 22, 2022 · View on GitHub

-description

Draws a series of connected straight lines.

-xaml-syntax

<Polyline .../>

-remarks

-examples

This example shows how to use a Polyline to create a closed triangle.

<Canvas>  
  <Polyline Points="50,25 0,100 100,100 50,25"
    Stroke="Blue" StrokeThickness="10"
    Canvas.Left="75" Canvas.Top="50" />
</Canvas>

-see-also

Shape, XAML vector-based drawing sample, Draw shapes

Contents

  1. 1-description
  2. 2-xaml-syntax
  3. 3-remarks
  4. 4-examples
  5. 5-see-also