(HTML5) Canvas 是否相当于图像映射? [英] Does (HTML5) Canvas have the equivalent of an image map?

查看:18
本文介绍了(HTML5) Canvas 是否相当于图像映射?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Canvas 元素是否相当于img 的地图,因此您可以定义可点击画布元素上的区域?

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屋!

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