   <Image  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
        <Image.Source>
            <DrawingImage>
                <DrawingImage.Drawing>
                    <GeometryDrawing>
                        <GeometryDrawing.Geometry>
                            <PathGeometry>
                                <PathGeometry.Figures>
                                    <PathFigure StartPoint="350,100">
                                        <PathFigure.Segments>
                                            <PolyLineSegment Points="370,50 390,100 430,70 410,130 450,160 380,140, 370,190 360,140 280,120 345,110"/>
                                        </PathFigure.Segments>
                                    </PathFigure>
                                </PathGeometry.Figures>
                            </PathGeometry>
                        </GeometryDrawing.Geometry>
                        <GeometryDrawing.Pen>
                            <Pen Thickness="10"
			 LineJoin="Miter"
			 StartLineCap="Round"
			 EndLineCap="Flat"
			 DashStyle="{x:Static DashStyles.Dash}">
                                <Pen.Brush>
                                    <LinearGradientBrush>
                                        <GradientStop Offset="0.0" Color="#FFFF28FF" />
                                        <GradientStop Offset="1.0" Color="Red" />
                                    </LinearGradientBrush>
                                </Pen.Brush>
                            </Pen>
                        </GeometryDrawing.Pen>
                    </GeometryDrawing>

                </DrawingImage.Drawing>
            </DrawingImage>
        </Image.Source>
    </Image>
