image.crop()

Crops a image to a specified rectangular area.

image.crop( x, y, width, height )

Returns: void

Argument Description
x
number, required

The X origin of the crop area.

y
number, required

The Y origin of the crop area.

width
number, required

The width of the crop area.

height
number, required

The height of the crop area.

Examples

There are currently no examples for this function

See also