如何在wpf中开发应用程序来画画中的圆形,矩形等 [英] how to develop appication in wpf to draw circle, rectangle etc like in paint

查看:58
本文介绍了如何在wpf中开发应用程序来画画中的圆形,矩形等的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在wpf中开发了使用inkCanvas的桌面应用程序,我们可以绘制任何不同颜色的图像。但我不知道如何通过提供任何图像来实现矩形绘图或任何其他形状绘图之类的选项,如油漆和此应用程序中的颜色填充选项。请帮我。我复习了。如果我的问题是错的,我很抱歉。



提前致谢

快乐编码

I have developed desktop application in wpf that has inkCanvas using that we can draw any image of different color. but i dont know how to implement options like rectangle drawing or any other shape drawing like in paint and also color filling option in this application by giving any image. Please help me. i am refresher. If my question is wrong I am sorry.

Thanks in advance
Happy coding

推荐答案

为了收集信息 - 几乎任何主题 - 你应该学会使用像谷歌这样的搜索引擎...

这将返回你成千上万的结果,你可以通过阅读开始学习他们。随着文章的推进,你不仅会学习这个主题,还会缩小查询范围并获得更多相关文章...

至于你的具体问题 - 我花了不到30秒就到了在MSDN上找到一个教程: https://msdn.microsoft.com/en -us / library / bb531278(v = vs.90).aspx [ ^ ]
To gather information - on any subject almost - you should learn to use search engines like Google...
It will return you hundred of thousands of results and you can start learning by reading them. As advancing via the articles you will not only learn on the subject, but also to narrow your query and getting more relevant articles...
As for you specific question - it took me less then 30 seconds to find a tutorial at MSDN: https://msdn.microsoft.com/en-us/library/bb531278(v=vs.90).aspx[^]


看看 WPF:初学者指南 - n的第1部分 [ ^ ]以及该系列中的所有其他内容。您将找到许多可以帮助您的WPF技术的好例子。
Take a look at WPF: A Beginner's Guide - Part 1 of n[^] and all the others in the series. You will find good examples of many WPF techniques that will help you.


这篇关于如何在wpf中开发应用程序来画画中的圆形,矩形等的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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