getHeight.lua 378 B

1234567891011121314151617
  1. return {
  2. summary = 'Get the height of a line of text.',
  3. description = [[
  4. Returns the height of a line of text. Units are in meters, see `Font:setPixelDensity`.
  5. ]],
  6. arguments = {},
  7. returns = {
  8. {
  9. name = 'height',
  10. type = 'number',
  11. description = 'The height of a rendered line of text.'
  12. }
  13. },
  14. related = {
  15. 'Rasterizer:getHeight'
  16. }
  17. }