getAdvance.lua 417 B

123456789101112131415
  1. return {
  2. summary = 'Get the advance of the font.',
  3. description = [[
  4. Returns the advance metric of the font, in pixels. The advance is how many pixels the font
  5. advances horizontally after each glyph is rendered. This does not include kerning.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'advance',
  11. type = 'number',
  12. description = 'The advance of the font, in pixels.'
  13. }
  14. }
  15. }