• Skip to main content
  • Skip to search
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. 术语表
  2. Canvas
  • Change language
  • View in English

Table of contents

  • 更多信息

Canvas

HTML 的 <canvas> 元素提供了一个空白绘图区域,可以使用 APIs (比如 Canvas 2D 或 WebGL)来绘制图形。

更多信息

常规信息

  • 在维基百科上查看 <canvas> 的解释

学习资源

  • 查看MDN上的canvas教程

技术信息

  • MDN 上关于 HTML5 <canvas> 元素的信息
  • MDN 上关于 Canvas 的常规信息
  • 画布 2D 绘图 API:CanvasRenderingContext2D
  • Canvas 2D API 规格

Found a problem with this page?

  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Apr 21, 2021, by MDN contributors

Change your language
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

Mozilla

© 2005-2021 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies