Draw solid color triangle using XAML only

 ̄綄美尐妖づ 提交于 2019-12-03 01:58:24
<Polygon Points="0,0 80,50, 0,100" Stroke="Black" Fill="Black" />

See API or Example.

I want to add these to their collection:

    <Polygon Points="5,0 10,10, 0,10" Stroke="Black" Fill="Black" />

    <Polygon Points="0,0 5,10, 10,0" Stroke="Black" Fill="Black" />

Using paths

<Path Width="33" Height="37" Stretch="Fill" Stroke="Black" Fill="Black" Data="F1 M 319.344,237.333L 287.328,218.849L 287.328,255.818L 319.344,237.333 Z "/>
<Path Width="33" Height="37" Stretch="Fill" Stroke="Black" Fill="Black" Data="F1 M 287.328,237.333L 319.344,255.818L 319.344,218.849L 287.328,237.333 Z "/>
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!