[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

RE: [pygame] hoe to create the RoundRect ?



Yeah, I need such types of rectangles.

 

 


From: owner-pygame-users@xxxxxxxx [mailto:owner-pygame-users@xxxxxxxx] On Behalf Of Ian Mallett
Sent: Thursday, March 27, 2008 2:15 PM
To: pygame-users@xxxxxxxx
Subject: Re: [pygame] hoe to create the RoundRect ?

 

Do you mean like a rectangle with rounded edges?  As far as I know, PyGame doesn't go that.  You can, however, make several rectangles of different sizes, and draw them over each other.  Because they overlap, they will appear to form a rounded rectangle.
Ian