VerticalAlign.lua 467 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'Different ways to vertically align text.',
  3. description = 'Different ways to vertically align text with `Pass:text`.',
  4. values = {
  5. {
  6. name = 'top',
  7. description = 'Top-aligned text.'
  8. },
  9. {
  10. name = 'middle',
  11. description = 'Centered text.'
  12. },
  13. {
  14. name = 'bottom',
  15. description = 'Bottom-aligned text.'
  16. }
  17. },
  18. related = {
  19. 'HorizontalAlign',
  20. 'Pass:text',
  21. 'Font:getVertices'
  22. }
  23. }