getLineWidth.lua 360 B

1234567891011121314151617
  1. return {
  2. tag = 'graphicsState',
  3. summary = 'Get the line width.',
  4. description = 'Returns the current line width.',
  5. arguments = {},
  6. returns = {
  7. {
  8. name = 'width',
  9. type = 'number',
  10. description = 'The current line width, in pixels.'
  11. }
  12. },
  13. related = {
  14. 'lovr.graphics.line'
  15. },
  16. notes = 'The default line width is `1`.'
  17. }