Method Image.Image()->paste_alpha()
- Method paste_alpha
paste_alpha(objectobjectimage,intalpha)
paste_alpha(objectobjectimage,intalpha,intx,inty)- Description
-
Pastes a given image over the current image, with the specified alpha channel value.
An alpha channel value of 0 leaves nothing of the original image in the paste area, 255 is meaningless and makes the given image invisible.
- Parameter
image -
image to paste
- Parameter
alpha -
alpha channel value
- Parameter
x - Parameter
y -
where to paste the image; default is 0,0
- Returns
-
the object called
- See also