getDescent.lua 443 B

12345678910111213141516171819
  1. return {
  2. summary = 'Get the descent of the font.',
  3. description = [[
  4. Returns the descent metric of the font, in pixels. The descent represents how far any glyph of
  5. the font descends below the baseline.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'descent',
  11. type = 'number',
  12. description = 'The descent of the font, in pixels.'
  13. }
  14. },
  15. related = {
  16. 'Rasterzer:getAscent',
  17. 'Font:getDescent'
  18. }
  19. }