getPixelDensity.lua 407 B

123456789101112131415
  1. return {
  2. summary = 'Get the pixel density of the Font.',
  3. description = [[
  4. Returns the current pixel density for the Font. The default is 1.0. Normally, this is in
  5. pixels per meter. When rendering to a 2D texture, the units are pixels.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'pixelDensity',
  11. type = 'number',
  12. description = 'The current pixel density.'
  13. }
  14. }
  15. }