Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 470729 of WEB 图形开发

  • 版本网址缩略名: Web/Guide/Graphics
  • 版本标题: Graphics on the Web
  • 版本 id: 470729
  • 创建于:
  • 创建者: Hikerpig
  • 是否是当前版本?
  • 评论

修订内容

现代网站和应用需要呈现大量图片。 展示静态图片可以使用简单的HTML标签<img>,也可以采用CSSWhile simply displaying static images can easily be done using the {{HTMLElement("img")}} element, or by setting the background of HTML elements using the {{cssxref("background-image")}} property, you often want to construct graphics on-the-fly, or manipulate images after the fact. These articles provide insight into how you can accomplish this.

2D graphics

Drawing graphics with canvas
An introductory guide to using the {{HTMLElement("canvas")}} element to draw 2D graphics.
SVG
Scalable Vector Graphics (SVG) lets you use lines, curves, and other geometric shapes to render graphics. By avoiding the use of bitmaps, you can create images that scale cleanly to any size.

View All...

3D graphics

WebGL
A guide to getting started with WebGL, the 3D graphics API for the Web. This technology lets you use standard OpenGL ES in Web content.

 

修订版来源

<p><span class="seoSummary">现代网站和应用需要呈现大量图片。</span> 展示静态图片可以使用简单的HTML标签&lt;img&gt;,也可以采用CSSWhile simply displaying static images can easily be done using the {{HTMLElement("img")}} element, or by setting the background of HTML elements using the {{cssxref("background-image")}} property, you often want to construct graphics on-the-fly, or manipulate images after the fact. <span class="seoSummary">These articles provide insight into how you can accomplish this.</span></p>
<div class="row topicpage-table">
  <div class="section">
    <h2 class="Documentation" id="Docs_for_add-on_developers" name="Docs_for_add-on_developers">2D graphics</h2>
    <dl>
      <dt>
        <a href="/en-US/docs/Web/Guide/Graphics/Drawing_graphics_with_canvas">Drawing graphics with canvas</a></dt>
      <dd>
        An introductory guide to using the {{HTMLElement("canvas")}} element to draw 2D graphics.</dd>
      <dt>
        <a href="/en-US/docs/SVG">SVG</a></dt>
      <dd>
        Scalable Vector Graphics (SVG) lets you use lines, curves, and other geometric shapes to render graphics. By avoiding the use of bitmaps, you can create images that scale cleanly to any size.</dd>
    </dl>
    <p><span class="alllinks"><a href="/en-US/docs/tag/Graphics">View All...</a></span></p>
  </div>
  <div class="section">
    <h2 class="Documentation" id="Docs_for_add-on_developers" name="Docs_for_add-on_developers">3D graphics</h2>
    <dl>
      <dt>
        <a href="/en-US/docs/Web/WebGL">WebGL</a></dt>
      <dd>
        A guide to getting started with WebGL, the 3D graphics API for the Web. This technology lets you use standard OpenGL ES in Web content.</dd>
    </dl>
  </div>
</div>
<p>&nbsp;</p>
恢复到这个版本