Method Image.Image()->paste_alpha()
classImage.Image
- Method
paste_alpha
objectpaste_alpha(objectimage,intalpha)
objectpaste_alpha(objectimage,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