首页> 外文期刊>Net >HTML5/create an interactive canvas app
【24h】

HTML5/create an interactive canvas app

机译:HTML5 /创建交互式画布应用

获取原文
获取原文并翻译 | 示例
           

摘要

The canvas element is primarily used to draw images and graphics to your web page and behaves as a relatively inactive component on your web page. This is fine for many uses, such as in a graphing application where it is used for output. It's also okay for applications that rely on keyboard input, such as online games, as you can attach your keyboard event handlers to the web page and let those change the view on the canvas. But what if you want to build an application using the canvas element, which includes components that are interactive, eg clickable?
机译:canvas元素主要用于在您的网页上绘制图像和图形,并在您的网页上充当相对不活跃的组件。这对于许多用途都很好,例如在用于输出的图形应用程序中。对于依赖键盘输入的应用程序(例如在线游戏)也可以,因为您可以将键盘事件处理程序附加到网页上,并让它们更改画布上的视图。但是,如果您想使用canvas元素构建应用程序,该元素包含交互式组件,例如可单击组件,该怎么办?

著录项

  • 来源
    《Net》 |2011年第212期|p.90-93|共4页
  • 作者

    Rob Brown;

  • 作者单位
  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号