setLineHeight.lua 453 B

12345678910111213141516171819
  1. return {
  2. summary = 'Set the line height of the Font.',
  3. description = [[
  4. Sets the line height of the Font, which controls how far lines apart lines are vertically
  5. separated. This value is a ratio and the default is 1.0.
  6. ]],
  7. arguments = {
  8. {
  9. name = 'lineHeight',
  10. type = 'number',
  11. description = 'The new line height.'
  12. }
  13. },
  14. returns = {},
  15. related = {
  16. 'Font:getHeight',
  17. 'Rasterizer:getLineHeight'
  18. }
  19. }