File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
crop
— Crop the image with the following left, top, right, bottom coordinates
Name | Description |
---|---|
$intX1 | n/a |
$intY1 | n/a |
$intX2 | n/a |
$intY2 | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intX1 = 124;
$intY1 = 124;
$intX2 = 124;
$intY2 = 124;
//Call the function crop with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> crop($intX1, $intY1, $intX2, $intY2);