/** * Crops a portion of the image. * * @param int $width The width. * @param int $height The height. * @param int $coordX The X coordinate. * @param int $coordY The Y coordinate. * * @return $this */ public function crop($width, $height, $coordX, $coordY) { $this->resource->crop($width, $height, $coordX, $coordY); return $this; }