Documentation

Duplicate Image Rectangle (Blit) - Open Dev Kit Documentation

Open Dev Kit Documentation :: General :: Image :: Duplicate Image Rectangle (Blit)

Root.Image.Blit(
  Image Image*,
  Destination Area Rectangle,
  Source Area Rectangle
) 
Copies an image or a portion of it from a source area one one image to a destination area on this image

Parameters

Image Image*
Source image to copy from
Destination Area Rectangle
Destination rectangle within the image where the other image or its part will be copied
Source Area Rectangle
Source rectangle defining the portion of the image to be copied

Return Value

Nothing

Lua Usage

image:Blit(image, destinationArea, sourceArea)

If you think anything is missing, please feel free to: submit documentation feedback on this page