ImageUtils.html 717 B

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html lang="zh">
  3. <head>
  4. <meta charset="utf-8" />
  5. <base href="../../../" />
  6. <script src="page.js"></script>
  7. <link type="text/css" rel="stylesheet" href="page.css" />
  8. </head>
  9. <body>
  10. <h1>[name]</h1>
  11. <p class="desc">
  12. A class containing utility functions for images.
  13. </p>
  14. <h2>Methods</h2>
  15. <h3>[method:String getDataURL]( [param:HTMLCanvasElement image] | [param:HTMLImageElement image] | [param:ImageBitmap image] )</h3>
  16. <p>
  17. image -- The image object.<br /><br />
  18. Returns a data URI containing a representation of the given image.
  19. </p>
  20. <h2>Source</h2>
  21. <p>
  22. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  23. </p>
  24. </body>
  25. </html>