Layer.assignImages

Function/Meaning
Copying images
Type
Layer class method
Syntax
assignImages(src)
Arguments
src Specifies the source layer to copy from.
Return Value
None (void)
Description
Copies all main images, mask images, and region images from the layer specified by src.
The image size will be the same as the source layer's image size. Other information is not copied.
Although it is called a copy, it actually just results in a state where "the same image is shared by two or more layers," so this method takes almost no execution time.