WPF vous pouvezLineSegment.IsStroked manquant dans UWP
<Path Stroke="White" Fill="#50ffffff" StrokeThickness="2">
<Path.Data>
<PathGeometry>
<PathFigure StartPoint="20,20">
<LineSegment Point="100,20" />
<LineSegment Point="100, 100" IsStroked="False"/>
<LineSegment Point="20, 100"/>
<LineSegment Point="20, 20"/>
</PathFigure>
</PathGeometry>
</Path.Data>
</Path>
Pour obtenir
Malheureusement dans UWP il n'y a pas IsStroked
propriété dans la classe LineSegment
, est-il savoir solution de contournement pour ce cas?
Merci
pourrait pas être atteint par un simple retrait du segment de droite? Tant qu'il n'y a qu'un seul intervalle et que 'IsClosed = false' cela devrait fonctionner (vous devrez réordonner les lignes bien sûr). –