ImageCopy

Copies a rectangular area of an image.

ImageCopy( image, x, y, width, height [, dx [, dy ] ] )

Returns: any

Argument Description Default
image
any, required

The image on which this operation is performed.

Alias: name

x
number, required

The x coordinate of the source rectangle.

y
number, required

The y coordinate of the source rectangle.

width
number, required

The width of the source rectangle.

height
number, required

The height of the source rectangle.

dx
number, optional

The x coordinate of the destination rectangle.

-999

dy
number, optional

The y coordinate of the destination rectangle.

-999

Examples

There are currently no examples for this function.

See also