Layer.copyFromBitmapToMainImage

Function/Meaning

Copy image from Bitmap

Type
Layerclassmethod of
Syntax
copyFromBitmapToMainImage(src)
Arguments
src

Specifies the Bitmap object to copy from.

Return value
None (void)
Explanation

Copies an image from the Bitmap object specified in src to the layer's main image.
The image size will be the same as the image size of the source Bitmap object.
This method takes almost no execution time because copying is actually just a state where "the same image is shared by two or more layers".

Reference
Layer.copyToBitmapFromMainImage