Layer.copyToBitmapFromMainImage

Function/Meaning

Copy image to Bitmap

Type
Layerclassmethod of
Syntax
copyToBitmapFromMainImage(dest)
Arguments
dest

Specifies the destination Bitmap object.

Return value
None (void)
Explanation

Copies the layer's main image to the Bitmap object specified by dest.
The image size will be the same as the image size of the copy source layer.
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.copyFromBitmapToMainImage