label.html 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <html>
  2. <head>
  3. <title>Label</title>
  4. </head>
  5. <body bgcolor="FFFFFF">
  6. <h1><img align="center" src="../../../../en/icons/text.gif" width="32" height="32">
  7. <em>Label</em></h1>
  8. <p><table>
  9. <tr><td><strong>Library:</strong></td>
  10. <td><a href="index.html">Base</a></td></tr>
  11. <tr><td><strong>Introduced:</strong></td>
  12. <td>2.0 Beta 1</td></tr>
  13. <tr><td valign="top"><strong>Appearance:</strong></td>
  14. <td valign="top"><img src="../../../../en/img-libs/label.png" width="59" height="10"></td></tr>
  15. </table></p>
  16. <h2>Behavior</h2>
  17. <p>This is a simple text label that can be placed anywhere in the
  18. circuit. It does not interact with values traveling through the circuit
  19. in any way, except inasmuch as it will be visible when the circuit is
  20. drawn.</p>
  21. <p>In contrast to all other components in the current built-in
  22. libraries, label components can be placed anywhere on the canvas;
  23. they do not snap to the grid.</p>
  24. <h2>Pins</h2>
  25. <p>None.</p>
  26. <h2>Attributes</h2>
  27. <dl>
  28. <dt>Text</dt>
  29. <dd>The text appearing in the label. This value can be edited in the
  30. attribute table or, using the text tool, on the canvas.</dd>
  31. <dt>Font</dt>
  32. <dd>The font to use when drawing the label.</dd>
  33. <dt>Horizontal Alignment</dt>
  34. <dd>The horizontal positioning technique for the text relative to the label's official location
  35. (where the mouse was clicked in creating the label). "Left"
  36. means that the text should be drawn so that its left edge
  37. is at the location; "right" means that the text should be
  38. drawn so that its right edge is at the location; and "center" means that
  39. the text should be drawn so that its center (horizontally) is at the
  40. location.</dd>
  41. <dt>Vertical Alignment</dt>
  42. <dd><p>The vertical positioning technique for the text relative to the
  43. label's official location (where the mouse was clicked in creating the
  44. label). "Base" means that the baseline should intersect the location;
  45. "Top" means that the text's top should intersect the location; "Bottom"
  46. means that the text's bottom should intersect the location; and "Center"
  47. means that the text should be centered (vertically) at the location.</p>
  48. <p>The text's top and bottom is computed based on the font's
  49. standard ascent and descent values; thus, even if the actual text
  50. contains no tall letters (such as <em>b</em>) or descending letters
  51. (such as <em>g</em>), it is assumed to contain such letters for the
  52. purposes of vertical positioning.</p></dd>
  53. </dl>
  54. <h2>Poke Tool Behavior</h2>
  55. <p>None.</p>
  56. <h2>Text Tool Behavior</h2>
  57. <p>Allows the text appearing within the label to be edited.</p>
  58. <p><a href="../index.html">Back to <em>Library Reference</em></a></p>
  59. </body>
  60. </html>