goo.text.html 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html>
  4. <head>
  5. <title>Module goo.text</title>
  6. <link rel="stylesheet" href="../luadoc.css" type="text/css" />
  7. <!--meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/-->
  8. </head>
  9. <body>
  10. <div id="container">
  11. <div id="product">
  12. <div id="product_logo"></div>
  13. <div id="product_name"><big><b></b></big></div>
  14. <div id="product_description"></div>
  15. </div> <!-- id="product" -->
  16. <div id="main">
  17. <div id="navigation">
  18. <h1>Goo</h1>
  19. <ul>
  20. <li><a href="../index.html">Index</a></li>
  21. </ul>
  22. <!-- Module list -->
  23. <h1>Modules</h1>
  24. <ul>
  25. <li>
  26. <a href="../modules/anim.html">anim</a>
  27. </li>
  28. <li>
  29. <a href="../modules/goo.html">goo</a>
  30. </li>
  31. <li>
  32. <a href="../modules/goo.button.html">goo.button</a>
  33. </li>
  34. <li>
  35. <a href="../modules/goo.checkbox.html">goo.checkbox</a>
  36. </li>
  37. <li>
  38. <a href="../modules/goo.colorpick.html">goo.colorpick</a>
  39. </li>
  40. <li>
  41. <a href="../modules/goo.image.html">goo.image</a>
  42. </li>
  43. <li>
  44. <a href="../modules/goo.null.html">goo.null</a>
  45. </li>
  46. <li>
  47. <a href="../modules/goo.object.html">goo.object</a>
  48. </li>
  49. <li>
  50. <a href="../modules/goo.panel.html">goo.panel</a>
  51. </li>
  52. <li>
  53. <a href="../modules/goo.progressbar.html">goo.progressbar</a>
  54. </li>
  55. <li><strong>goo.text</strong></li>
  56. <li>
  57. <a href="../modules/goo.textinput.html">goo.textinput</a>
  58. </li>
  59. </ul>
  60. <!-- File list -->
  61. </div><!-- id="navigation" -->
  62. <div id="content">
  63. <h1>Module <code>goo.text</code></h1>
  64. <p>Draw text. <br/>TODO: add support for leading, kerning, word spacing and perhaps even gradients.</p>
  65. <h2>Functions</h2>
  66. <table class="function_list">
  67. <tr>
  68. <td class="name" nowrap><a href="#goo.text:getText">goo.text:getText</a>&nbsp;(text)</td>
  69. <td class="summary">Gets the text.</td>
  70. </tr>
  71. <tr>
  72. <td class="name" nowrap><a href="#goo.text:setText">goo.text:setText</a>&nbsp;(text)</td>
  73. <td class="summary">Sets the text.</td>
  74. </tr>
  75. </table>
  76. <br/>
  77. <br/>
  78. <h2><a name="functions"></a>Functions</h2>
  79. <dl class="function">
  80. <dt><a name="goo.text:getText"></a><span>goo.text:</span><strong>getText</strong>&nbsp;( text )</dt>
  81. <dd>
  82. <p class="func_description">Gets the text.</p>
  83. <h3>Return value:</h3>
  84. <p class="func_return">string: the text.</p>
  85. </dd>
  86. <dt><a name="goo.text:setText"></a><span>goo.text:</span><strong>setText</strong>&nbsp;( text )</dt>
  87. <dd>
  88. <p class="func_description">Sets the text.</p>
  89. </dd>
  90. </dl>
  91. </div> <!-- id="content" -->
  92. </div> <!-- id="main" -->
  93. <div id="about">
  94. <p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a></p>
  95. </div> <!-- id="about" -->
  96. </div> <!-- id="container" -->
  97. </body>
  98. </html>