setLineSpacing.lua 512 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'Set the line spacing of the Font.',
  3. description = [[
  4. Sets the line spacing of the Font. When spacing out lines, the height of the font is multiplied
  5. by the line spacing to get the final spacing value. The default is 1.0.
  6. ]],
  7. arguments = {
  8. spacing = {
  9. type = 'number',
  10. description = 'The new line spacing.'
  11. }
  12. },
  13. returns = {},
  14. variants = {
  15. {
  16. arguments = { 'spacing' },
  17. returns = {}
  18. }
  19. },
  20. related = {
  21. 'Font:getHeight'
  22. }
  23. }