I am trying to draw in C# for the first time and I have a problem with positioning. I made some background but I have problem to finish it. I always destroy the whole figure...
I need to change down edges and make them soft/rounded like on mobile screen. I have tried to change this, but I don't understand where to input <ArcSegment>
(or some other command) and how to rotate that part of edge.
This is how my .xaml
code looks:
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="0,0">
<ArcSegment Size="50,50" RotationAngle="180" IsLargeArc="True" SweepDirection="Clockwise" Point="500,0"/>
<LineSegment Point="500,400"/>
<LineSegment Point="450,500"/>
<LineSegment Point="50,500" />
<LineSegment Point="0,400"/>
<LineSegment Point="0,0" />
</PathFigure>
</PathGeometry>
</Path.Data>
After my code I got:
Thank you in advance!