How do you draw an antialiased circular line of a certain thickness? How to set width on pygame.gfx.aacircle()?
问题 Like pygame.draw.circle(Surface, color, pos, radius, width) , I want to get antialiased circle. But, there is no option about width on pygame.gfxdraw.aacircle() . Anyone knows alternative way? 回答1: Neither the pygame.draw module nor the pygame.gfxdraw module provide a function for an antialiased circle with an scalable thickness. While pygame.draw.circle() can draw a circle with different width, pygame.gfxdraw.circle() can draw a thin, antialiased circle. You can try to stitch the circle with