Html 画布教程/参考

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/1334216/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-29 00:42:42  来源:igfitidea点击:

Canvas Tutorial / Reference

htmlcanvas

提问by Kshitij Saxena -KJ-

Can somebody please refer me to a comprehensivetutorial on Canvas which covers all properties / functions?

有人可以请我参考涵盖所有属性/功能的 Canvas综合教程吗?

I also need a definite reference on Canvas - something like w3schools

我还需要一个关于 Canvas 的明确参考——比如 w3schools

回答by David Johnstone

Here is a HTML5 Canvas cheat sheet(PNG and PDF) and a HTML versionof the same.

这是一个HTML5 Canvas 备忘单(PNG 和 PDF)以及相同的HTML 版本

Here is a website dedicated to cheat sheetsfor developers, but it doesn't have any other canvas cheat sheets/references.

这是一个专门为开发人员提供备忘单网站,但它没有任何其他画布备忘单/参考资料。

回答by David Johnstone

I run a site called Canvas Demos, where you can find lots of tutorials and tools to help you build great applications with the canvas element.

我运营着一个名为Canvas Demos的网站,您可以在其中找到许多教程和工具来帮助您使用 canvas 元素构建出色的应用程序。

It also contains a list of games and applications made by other people with the Canvas element.

它还包含其他人使用 Canvas 元素制作的游戏和应用程序列表。

回答by Seth Ladd

Rob Hawkes recently release "Foundation HTML5 Canvas for Games and Entertainment" book. http://rawkes.com/foundationcanvas

Rob Hawkes 最近发布了“用于游戏和娱乐的基础 HTML5 Canvas”一书。 http://rawkes.com/foundationcanvas

回答by Richard

There's one which covers all the properties/functions:

有一个涵盖所有属性/功能:

A comprehensive reference for HTML5 canvas

HTML5 画布的综合参考

回答by Ghigo

Take a look at the Canvas chapter from Dive Into HTML5: http://diveintohtml5.info/canvas.html

看看Dive Into HTML5中的 Canvas 章节:http: //diveintohtml5.info/canvas.html