当前位置: 移动技术网 > IT编程>开发语言>.net > WPF Path 画箭头

WPF Path 画箭头

2018年03月14日  | 移动技术网IT编程  | 我要评论

主令控制器,软件安装,冰与火之歌第六季第四集

代码:

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525" WindowStartupLocation="CenterScreen">
    <Grid Background="White">
        <Border Width="36" Height="36">
            <Path Fill="Red" Data="M -15,8 L 17,17 C 17,17 19,18 17,19 L 17,19 L -15,28 C -15,28 -17,28.2 -16,26 L -16,26 L -5,18 L -16,10 C -16,10 -17,8.5 -15,8 Z"></Path>
        </Border>
    </Grid>
</Window>
View Code

设计图:

运行效果图:

效果图放大:

 

如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复

相关文章:

验证码:
移动技术网