如何在asp.net中创建绘图区域 [英] how to make a drawing area in asp.net

查看:77
本文介绍了如何在asp.net中创建绘图区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个网站,我想放置一个绘图区域

,在该区域用户应该能够绘制多边形,直线和圆圈

任何人都可以帮忙吗?可能会将我重定向到某些来源,我可以学习如何绘制

i am developing a website where i want to place a drawing area
and in that area user should be able to draw polygons,straight lines and circles
anyone can help with this ? maybe redirect me to some source where i can learn how to draw

推荐答案

最好也是最合理的方法是使用HTML5 Canvas 功能: http://en.wikipedia.org/wiki/Html5_canvas [ ^ ]。



这将需要相当大的努力,但你能做的是令人印象深刻的:

http://net.tutsplus.com/articles/web-roundups/21-ridiculously-impressive-html5-canvas-experiments/ [ ^ ]。



您可以找到几个已经设计过的引擎,特别是用于交互式创建矢量图形的引擎用户:
$ b $bRaphaël: http://raphaeljs.com/ [ ^ ],

CAKE:http://code.google.com/p/cakejs/ [ ^ ],

Paper.js,一个矢量图形脚本网络: http:/ /paperjs.org/ [ ^ ],

Burst Engine: https://github.com/rwaldron/burst-core [ ^ ]。



另请参阅此Mozilla教程: https:// developer.moz illa.org/en-US/docs/Web/Guide/Graphics/Drawing_graphics_with_canvas?redirectlocale=en-US&redirectslug=HTML%2FCanvas%2FDrawing_Graphics_with_Canvas [ ^ ]。br />


-SA
The best and most reasonable way to do it is to use HTML5 Canvas feature: http://en.wikipedia.org/wiki/Html5_canvas[^].

It will take considerable effort, but what you can do is quite impressive:
http://net.tutsplus.com/articles/web-roundups/21-ridiculously-impressive-html5-canvas-experiments/[^].

You can find several engines already designed, in particular, for creation of vector graphics interactively by the user:
Raphaël: http://raphaeljs.com/[^],
CAKE: http://code.google.com/p/cakejs/[^],
Paper.js, a vector-graphics scripting network: http://paperjs.org/[^],
Burst Engine: https://github.com/rwaldron/burst-core[^].

See also this Mozilla tutorial: https://developer.mozilla.org/en-US/docs/Web/Guide/Graphics/Drawing_graphics_with_canvas?redirectlocale=en-US&redirectslug=HTML%2FCanvas%2FDrawing_Graphics_with_Canvas[^].

—SA


这篇关于如何在asp.net中创建绘图区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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