Create a PathGeometry using the PathFigureCollection mini-language.
<Window x:Class="RadialGradientBrushExample" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="Radial Gradient" Height="320" Width="368"> <Canvas> <Path Stroke="Blue"> <Path.Data> <PathGeometry Figures="M 100 120 L 200 120 L 200 220 L 100 170" /> </Path.Data> </Path> </Canvas> </Window>