comp • gb.image • image • drawimage

Image.DrawImage (gb.image)

Function DrawImage ( Image As Image [ , X As Integer, Y As Integer, Width As Integer, Height As Integer, SrcX As Integer, SrcY As Integer, SrcWidth As Integer, SrcHeight As Integer ] ) As Image

Copy the Image image inside the current image.

  • X, Y is the destination of the drawing. By default, this is the current image origin.

  • Width, Height are the dimension of the copy. If they are different from SrcWidth, SrcHeight then the source image is scaled.

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

See also