diff src/pixelarray.doc @ 991:684d96c73d0d

Changed PixelArray.extract() to return a new PixelArray mask instead of performing an in place operation.
author marcus
date Fri, 04 Apr 2008 10:40:09 +0000
parents 404e3a0be4f8
children 1577bcf02ed5
line wrap: on
line diff
--- a/src/pixelarray.doc	Fri Apr 04 10:15:24 2008 +0000
+++ b/src/pixelarray.doc	Fri Apr 04 10:40:09 2008 +0000
@@ -105,12 +105,12 @@
 <END>
 
 extract
-Extracts the passed color in the PixelArray.
-PixelArray.extract (color): Return None
+Extracts the passed color from the PixelArray.
+PixelArray.extract (color): Return PixelArray
 
 Extracts the passed color by changing all matching pixels to white,
-while non-matching pixels are changed to black. The extraction is
-done in place on the PixelArray.
+while non-matching pixels are changed to black. This returns a new
+PixelArray with the black/white color mask.
 
 New in pygame.1.8.1.
 <END>