在图像和操纵上绘制坐标线 [英] Draw coordinate lines on image and manipulation

查看:58
本文介绍了在图像和操纵上绘制坐标线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一个要求,我的网页有一个固定大小的图像。然后我必须显示图形线依赖于输入像(1,1)意味着我必须如何将所有图像作为一个box.if输入像(2,2)我必须显示2×2矩阵线像图像上的4个区域(n,m)并且需要控制区域,比如为特定区域着色。



我正在寻找开始使用java脚本插件的方向。

如果我能从你们群中得到任何建议,那将非常有帮助。



提前致谢

I need a requirement like, My web page has an image having fixed size. Then I have to show graph lines depends on input like (1,1) means i have to how all image as one box.if input like (2,2) i have to show 2 by 2 matrix lines like 4 regions on image similar (n,m) and need control over the regions like to color specific region.

I am searching for direction to start using java script plugins.
If i can get any suggestions from you flocks, that would be very helpful.

Thanks in advance

推荐答案

我在我的一个游戏中做了类似的事情: Image Puzzle:A Html游戏 [ ^ ]

看看它是否对您有所帮助。



此外,为了您对图像的自定义需求(暂时),请使用图像映射。

http://www.w3schools.com/tags/att_img_usemap.asp [ ^ ]
I have done something similar in one of my game: Image Puzzle: A Html Game[^]
See if it helps you.

Moreover, for you custom needs over the images (temporarily), use Image Maps.
http://www.w3schools.com/tags/att_img_usemap.asp[^]


这篇关于在图像和操纵上绘制坐标线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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