Path.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <script src="../../../list.js"></script>
  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. <div class="desc">a 2d path representation, comprising of points, lines, and cubes, similar to the html5 2d canvas api. It extends CurvePath.</div>
  12. <h2>Constructor</h2>
  13. <h3>[name]()</h3>
  14. <h2>Properties</h2>
  15. <h3>.curves</h3>
  16. <h3>.bends</h3>
  17. <h3>.autoClose</h3>
  18. <h3>.actions</h3>
  19. <h2>Methods</h2>
  20. <h3>.fromPoints ( vectors ) </h3>
  21. <div>todo</div>
  22. <h3>.moveTo ( x, y ) </h3>
  23. <div>todo</div>
  24. <h3>.lineTo ( x, y ) </h3>
  25. <div>todo</div>
  26. <h3>.quadraticCurveTo ( aCPx, aCPy, aX, aY ) </h3>
  27. <div>todo</div>
  28. <h3>.bezierCurveTo ( aCP1x, aCP1y, aCP2x, aCP2y, aX, aY ) </h3>
  29. <div>todo</div>
  30. <h3>.splineThru ( pts /*Array of Vector*/ ) </h3>
  31. <div>todo</div>
  32. <h3>.arc ( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) </h3>
  33. <div>todo</div>
  34. <h3>.absarc ( aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise ) </h3>
  35. <div>todo</div>
  36. <h3>.ellipse ( aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise ) </h3>
  37. <div>todo</div>
  38. <h3>.absellipse ( aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise ) </h3>
  39. <div>todo</div>
  40. <h3>.getSpacedPoints ( divisions, closedPath ) </h3>
  41. <div>todo</div>
  42. <h3>.getPoints ( divisions, closedPath ) </h3>
  43. <div>todo</div>
  44. <h3>.toShapes () </h3>
  45. <div>todo</div>
  46. <h2>Source</h2>
  47. [link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
  48. </body>
  49. </html>