码迷,mamicode.com
首页 > Windows程序 > 详细

WPF Path 画箭头

时间:2019-04-02 12:43:41      阅读:608      评论:0      收藏:0      [点我收藏+]

标签:ros   path   pen   com   click   gif   设计   height   设计图   

原文:WPF Path 画箭头

代码:

技术图片
<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

设计图:

技术图片

运行效果图:

技术图片

效果图放大:

技术图片

 

WPF Path 画箭头

标签:ros   path   pen   com   click   gif   设计   height   设计图   

原文地址:https://www.cnblogs.com/lonelyxmas/p/10641702.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!