得到图像坐标x1,y1,x2,y2 [英] get image coordinates x1,y1,x2,y2

查看:614
本文介绍了得到图像坐标x1,y1,x2,y2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,

如何点击它来获取图像的坐标。我用谷歌搜索它,但我只有X和Y坐标。请建议我......

解决方案

x1,y1,x2,y2是什么意思???

点击图片,它只有x和y坐标。



如果你想选择一部分图像并获得选定的部分坐标,

看看这个

选择图像的一部分并用jquery检索其坐标 [ ^ ]



如果你拖动你的鼠标,你想要起始和结束位置坐标,

看看狮子王提供的解决方案

获取mo的图像坐标使用移动 [ ^

Hi friends,
How I will get coordinates of image with clicking on it. I googled it but i got only X and Y coordinates. Please suggest me...

解决方案

what does x1,y1,x2,y2 means???
when you click on an image,it will have only x and y coordinates.

if you wish to select a portion of the image and get the selected portion coordinates,
have a look at this
select a portion of an image and retrieve its coordinates with jquery[^]

if you drag your mouse and you want the starting and ending position coordinates,
have a look at the solution provided by Lion King
getting image coordinates of mouse movement[^]


这篇关于得到图像坐标x1,y1,x2,y2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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