ArcMode.lua 544 B

1234567891011121314151617181920
  1. return {
  2. summary = 'Different ways arcs can be drawn.',
  3. description = 'Different ways arcs can be drawn with `lovr.graphics.arc`.',
  4. values = {
  5. {
  6. name = 'pie',
  7. description = [[
  8. The arc is drawn with the center of its circle included in the list of points (default).
  9. ]]
  10. },
  11. {
  12. name = 'open',
  13. description = 'The curve of the arc is drawn as a single line.'
  14. },
  15. {
  16. name = 'closed',
  17. description = 'The starting and ending points of the arc\'s curve are connected.'
  18. }
  19. }
  20. }