Path based on GeometryGroup Resource
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="WPF" Height="300" Width="300">
<UniformGrid Columns="3" Rows="4">
<UniformGrid.Resources>
<GeometryGroup x:Key="Clown">
<RectangleGeometry Rect="30,120 20,10"/>
</GeometryGroup>
</UniformGrid.Resources>
<Path HorizontalAlignment="Center" VerticalAlignment="Center"
Data="{StaticResource Clown}" Stroke="Blue" StrokeThickness="4">
<Path.LayoutTransform>
<ScaleTransform ScaleX="0.5" ScaleY="0.45" />
</Path.LayoutTransform>
</Path>
</UniformGrid>
</Window>
Related examples in the same category