单击鼠标在c#wpf中绘制圆圈 [英] draw circle in c# wpf with mouse click
本文介绍了单击鼠标在c#wpf中绘制圆圈的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
i想在主窗口中制作一个只能用鼠标左键和鼠标点击位置画一圈的应用程序
请帮帮我
Hi
i want make an app that can draw circle with left mouse click and mouse click position only for one time in the main windows
please help me
推荐答案
我认为您可以通过给出相同的高度和宽度来使用eclipse并将其动态放入堆栈面板中。
在添加
$ b后将如下所示$ b< ellipse fill =SteelBlueheight =200width =200>
i think you can use eclipse by giving same height and width and put it in stackpanel dynamically..
will look like this after adding
<ellipse fill="SteelBlue" height="200" width="200">
这篇关于单击鼠标在c#wpf中绘制圆圈的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文