1

If I want to craw a circle, I use the regualr draw.circle but the problem is that I don't want it filled so I draw a smaller circle inside of it, it makes a circle with thickness.

Everything is good right? no. The background image inside that circle disappeared because the circles are filled.

Now my question is: There is a function that draws a circle (and other shapes[?]) that gets thick and not filling the whole inside of the shape?

EDIT: If you can give me the signature so I know how to use it.

4

1 回答 1

5

The command is pygame.draw.circle(Surface, color, pos, radius, width=0). The last argument of width can be changed to not fill the circle in. If it is zero, the circle is solid and if it is anything else it is with an edge thickness of whatever the parameter is.

于 2013-06-08T15:16:29.310 回答