L
L
LivFor2016-02-11 14:49:17
Python
LivFor, 2016-02-11 14:49:17

How to draw a rounded rectangle in python?

Good day everyone! I am engaged at an amateur level in the development of primitive toys on PyGame - sappers, tetris, arkanoid. To generate menus, I decided to file my button module. To simplify the drawing process, I decided to use the standard pygame' module and draw , but the rect object that is drawn there draws a rectangle with sharp corners that do not suit me at all. Is it possible to draw a rectangle with rounded corners using the standard python or pygame library? And is there a library with more advanced drawing functions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
angru, 2016-02-11
@LivFor

pygame.org/tags/rounded

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question