getFontSize.lua 476 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'Get the size of the font.',
  3. description = [[
  4. Returns the size of the font, in pixels. This is the size the rasterizer was created with, and
  5. defines the size of images it rasterizes.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. size = {
  10. type = 'number',
  11. description = 'The font size, in pixels.'
  12. }
  13. },
  14. variants = {
  15. {
  16. arguments = {},
  17. returns = { 'size' }
  18. }
  19. },
  20. related = {
  21. 'Rasterizer:getHeight'
  22. }
  23. }