Function IMAGECOPY
Copies a rectangular area of an image.
Example
imagecopy(any name,number x,number y,number width,number height,[number dx,[number dy]]):any
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
name | any | Yes | The image on which this operation is performed. |
x | number | Yes | The x coordinate of the source rectangle. |
y | number | Yes | The y coordinate of the source rectangle. |
width | number | Yes | The width of the source rectangle. |
height | number | Yes | The height of the source rectangle. |
dx | number | No | The x coordinate of the destination rectangle. |
dy | number | No | The y coordinate of the destination rectangle. |