<Rectangle xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" Stroke="Blue" StrokeEndLineCap="Triangle"  StrokeThickness="10"   StrokeDashArray="1" StrokeLineJoin="Bevel" StrokeDashOffset="1">
    <Rectangle.Fill>
        <LinearGradientBrush>
            <GradientStop Offset="0.0" Color="White" />
            <GradientStop Offset="1.0" Color="Aqua" />
        </LinearGradientBrush>
    </Rectangle.Fill>
</Rectangle>
