如何使用asp.net c#在网页上绘制线条,矩形,椭圆 [英] how to draw line,rectangle,ellipse on web pages using asp.net c#
问题描述
嗨观众,
我试图在页面加载中绘制这些类型。我无法创建它。
请帮我创建没有位图的线条,矩形,椭圆。
提前感谢
< blockquote>没有位图?您可以使用HTML5矢量图形画布功能:
http:// en .wikipedia.org / wiki / HTML5 [ ^ ] ,
http://en.wikipedia.org/wiki/HTML5_canvas [ ^ ]。
您可以使用以下教程来学习它:
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial [ ^ ],
http://www.html5canvastutorials.com/ [ ^ ]。
这只是为了感受它的力量:http://net.tutsplus.com/articles/web-roundups/21-ridiculously-impressive-html5-canvas-experiments/ [<一个href =http://net.tutsplus.com/articles/web-roundups/21-ridiculously-impressive-html5-canvas-experiments/target =_ blanktitle =New Window> ^ ] 。
hi viewers,
am trying to draw those types in page load.i cant create that.
pls help me to create the lines,rectangles,ellipse without bitmaps.
thanks in advance
Without bitmaps? You can use HTML5 vector-graphics canvas feature:
http://en.wikipedia.org/wiki/HTML5[^],
http://en.wikipedia.org/wiki/HTML5_canvas[^].
You can learn it using, for example, these tutorials:
https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial[^],
http://www.html5canvastutorials.com/[^].
And this is just to feel the power of it: http://net.tutsplus.com/articles/web-roundups/21-ridiculously-impressive-html5-canvas-experiments/[^].
—SA
这篇关于如何使用asp.net c#在网页上绘制线条,矩形,椭圆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!