C#WPF 2D图形-寻找教程/示例 [英] c# wpf 2d graphics - Looking for tutorial / examples

查看:126
本文介绍了C#WPF 2D图形-寻找教程/示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!
您能否为我指出一个很好的C#教程,以使用WPF在Canvas上绘制2d图形,例如Ellipse和Rectangle(从Shape继承)?
稍后我也有兴趣单击形状并确定单击了哪个形状,以及将形状拖放到画布上.
谢谢!

Hello !
Could you please point me to a good C# tutorial for drawing 2d graphics like Ellipse and Rectangle (that inherit from Shape) on a Canvas using WPF ?
I''m also interested later to click on shapes and identify which shape was clicked, and also to drag and drop shapes on the canvas.
Thank you !

推荐答案

我建​​议您使用Expression Blend(如果有)在画布上绘制形状等.这是一个教程 [
I would suggest you use Expression Blend (if you have it available) for drawing shapes etc. on a canvas. Here is a tutorial [^].


这篇关于C#WPF 2D图形-寻找教程/示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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