<Path x:Name="Bottom" Data="M220,204.25 L342.92554,204" Fill="#FFF9F9FF" Height="3.25" Margin="19.824,234.75,0,0" Stretch="Fill" Stroke="White" StrokeThickness="3" UseLayoutRounding="False" VerticalAlignment="Top" HorizontalAlignment="Left" Width="125.926"/> <Path x:Name="Bend" Data="M142.62154,237.35834 L216.70325,237.42766" Fill="#FFF9F9FF" HorizontalAlignment="Left" Height="3.065" Margin="137.668,234.248,0,0" Stretch="Fill" Stroke="White" UseLayoutRounding="False" VerticalAlignment="Top" Width="75.127" StrokeThickness="3" RenderTransformOrigin="0.017000000923872,0.950999975204468"> <Path.RenderTransform> <CompositeTransform TranslateX="5.055290699005127" TranslateY="0.51790362596511841" Rotation="-30"/> </Path.RenderTransform> </Path> <Path x:Name="Top" Data="M205.00006,201.16699 L326.1976,201.16699" Fill="#FFF9F9FF" Height="3" Margin="204,200.167,127.802,0" Stretch="Fill" Stroke="White" StrokeThickness="3" UseLayoutRounding="False" VerticalAlignment="Top"/>
Basically I need to understand how to permanently attach the beginning of the top line to the end of the angled line so when the angle of the bent line changes the upper line stays the same length but the starting position will depend on the finished position of the angled line, which will depend on the angle input from the user.

New Topic/Question
Reply


MultiQuote




|