In WPF, is it possible to encode this into a single tag Path
with the Data attribute?
<Path Stroke="White" StrokeThickness="2">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="7,32">
<ArcSegment Point="7,18" Size="200,50" RotationAngle="0" IsLargeArc="False" />
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
Something like this: (only this is a completely irregular form)
<Path Stroke="DarkGoldenRod" StrokeThickness="3"
Data="M 100,200 C 100,25 400,350 400,175 H 280" />
source
share