在asp.net中的画布上插入文本 [英] Inserting text on a canvas in asp.net

查看:102
本文介绍了在asp.net中的画布上插入文本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在画布上准确插入用户点击的文本。在用户点击时,一个角色将被准确标记用户点击的位置,然后我检索坐标以存储它们。



我如何获得位置用户点击了画布?

I'm trying to insert text on a canvas exactly where the user clicks. On the user clicks, a character will be marked exactly where the user had clicked and then I retrieve the coordinates to store them.

How can I get the position where the user has clicked on the canvas?

推荐答案

参考:如何-DO-I-GET-的坐标-的-A-鼠标点击上一个画布元素 [ ^ ]


这篇关于在asp.net中的画布上插入文本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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