箭头和点图 [英] Arrows and Points drawing

查看:69
本文介绍了箭头和点图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

男孩和女孩!有一个相对愚蠢的问题要问.这是用wpf绘制的指向右侧的简单箭头:

Hi guys and girls! Got a relatively stupid question to ask. This is a simple arrow drawn in wpf to point to the right:

Content="M 0 0 L 40 20 L 0 40 Z"/>



有人可以帮我把它指向左边吗?我还没有积分系统,我知道这有点愚蠢.

谢谢!



can anybody help me to make it point to the left? I don''t get the point system yet and i know this is something stupid.

Thanks!

推荐答案

您有

{M}移至0,0
{L} ine至40,20
{L} ine至0.40
{Z}结束

相反,我猜

{M}超过40,0
{L} ine至0.20
{L} ine至40,40
{Z}结束

Content ="M 40 0 L 0 20 L 40 40 Z"/>


路径标记语法 [
You have

{M}ove to 0,0
{L}ine to 40,20
{L}ine to 0,40
{Z} End

To reverse, I would guess

{M}ove to 40,0
{L}ine to 0,20
{L}ine to 40,40
{Z} End

Content="M 40 0 L 0 20 L 40 40 Z"/>


Path Markup Syntax[^]


这篇关于箭头和点图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆