Rectangle copy
dleft | Specifies the left edge position of the destination rectangle in pixels (at the image position of the destination layer). |
dtop | Specifies the top position of the destination rectangle in pixels (at the image position of the destination layer). |
src | Specifies the layer object to copy from. |
sleft | Specifies the left edge position of the rectangle to copy, in pixels (at the image position of the source layer). |
stop | Specifies the top position of the rectangle to copy, in pixels (at the image position of the source layer). |
swidth | Specifies the width of the rectangle to copy, in pixels (at the image position of the source layer). |
sheight | Specifies the height of the rectangle to copy, in pixels (at the image position of the source layer). |
Copies the rectangular part of the specified copy source layer to the specified position of your layer.
The image that is copied depends on the value of the Layer.face property of the destination layer (the layer that executes the method).