getBaseline.lua 416 B

123456789101112131415
  1. return {
  2. summary = 'Get the baseline of the Font.',
  3. description = [[
  4. Returns the baseline of the Font. This is where the characters "rest on", relative to the y
  5. coordinate of the drawn text. Units are generally in meters, see `Font:setPixelDensity`.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'baseline',
  11. type = 'number',
  12. description = 'The baseline of the Font.'
  13. }
  14. }
  15. }