(HTML5)Canvas有相当于一个图像映射吗? [英] Does (HTML5) Canvas have the equivalent of an image map?
本文介绍了(HTML5)Canvas有相当于一个图像映射吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Canvas元素相当于 img的地图,因此您可以定义在canvas元素上可点击的区域?
Does the Canvas element have the equivalent of img's map, so you can define clickable areas on the canvas element?
这里有一个简单的地图: http://www.w3.org/TR/html5/the-canvas-element.html ,但我不能
There is brief mention of a map halfway down the page here: http://www.w3.org/TR/html5/the-canvas-element.html, but I can't find anything else about it.
推荐答案
Canvas上的地图目前是HTML5的一个开放性问题。问题105是准确的。请参见 http://www.w3.org/html/wg/tracker/issues / 105
Maps on Canvas are currently an open issue with HTML5. Issue #105 to be precise. See http://www.w3.org/html/wg/tracker/issues/105
这篇关于(HTML5)Canvas有相当于一个图像映射吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文