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
Canvas Tutorial / Reference
提问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 Jacob
This has friendly/easy tutorials
这有友好/简单的教程
http://developer.mozilla.org/en/Canvas_tutorial
http://developer.mozilla.org/en/Canvas_tutorial
This is pretty comprehensive
这个很全面
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#the-canvas-element
http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#the-canvas-element
回答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:
有一个涵盖所有属性/功能:
回答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