Draws a Path element within a Canvas
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Microsoft.Samples.Graphics.RectangleExample"
WindowTitle="Rectangle Example">
<Canvas>
<Path
Data="M10,100 C 100,0 200,200 300,100 z"
Fill="#CCCCFF"
Stroke="Black"
StrokeThickness="4" />
</Canvas>
</Page>
Related examples in the same category