Gambas Documentation - /comp/gb.image/image/drawalpha

# Image.DrawAlpha (gb.image)

Function DrawAlpha ( Image As Image [ , X As Integer, Y As Integer, SrcX As Integer, SrcY As Integer, SrcWidth As Integer, SrcHeight As Integer ] ) As Image

Copy the alpha channel of Image into the current image.

- X, Y are the destination of the copy. The default is the current image origin.

- SrcX, SrcY, SrcWidth, SrcHeight define the part of Image to copy. By default, the entire image is copied.