How can I change the XAML code (representing a set of shapes) to one digit represented by PATH?
Say we have XAML code, for example:
<Ellipse Fill="#FF0A0A0E" HorizontalAlignment="Left" Margin="192,184,0,0" Stroke="Black" Width="8" Height="8" VerticalAlignment="Top"/> <Rectangle Fill="Black" HorizontalAlignment="Left" Margin="152,187.5,0,0" Stroke="Black" Width="89.5" Height="1" VerticalAlignment="Top"/>
and need to convert it to one path object?
I tried using Blend 4, where it allows you to convert the form to a path, but then the code above was converted to:
<Path Data="M7.5,4 C7.5,5.9329966 5.9329966,7.5 4,7.5 C2.0670034,7.5 0.5,5.9329966 0.5,4 C0.5,2.0670034 2.0670034,0.5 4,0.5 C5.9329966,0.5 7.5,2.0670034 7.5,4 z" Fill="#FF0A0A0E" HorizontalAlignment="Left" Height="8" Margin="192,184,0,0" Stretch="Fill" Stroke="Black" VerticalAlignment="Top" Width="8"/> <Path Data="M0.5,0.5 L89,0.5 z" Fill="Black" HorizontalAlignment="Left" Height="1" Margin="152,187.5,0,0" Stretch="Fill" Stroke="Black" VerticalAlignment="Top" Width="89.5" />
The reason I ask this question is because I can only define one Path. Correct me if I am wrong. If so, how can I insert 2 or more paths into one style?