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

Re: [pygame] New pygame.Color class



On, Tue Apr 15, 2008, Lenard Lindstrom wrote:

> Marcus von Appen wrote:
>> Hi,
>> 
>> I spent the last few days with the implementation of a new pygame.Color
>> class that allows us to be more flexible when it comes to colors.
> Nice idea. Will PixelArray recognize it at some point?
> 
> pixel_array[w][h] = pygame.Color('white')

The patch already implements this. Any method taking a RGBA color value
should be able to handle the Color object without any problems.

Regards
Marcus 

Attachment: pgpSAHAqEXTLl.pgp
Description: PGP signature