File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
rectangle
— Draw a rectangle on the image
Name | Description |
---|---|
$intStartX | n/a |
$intStartY | n/a |
$intEndX | n/a |
$intEndY | n/a |
[$strFillColour = '] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intStartX = 124;
$intStartY = 124;
$intEndX = 124;
$intEndY = 124;
$strFillColour = ';
//Call the function rectangle with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> rectangle($intStartX, $intStartY, $intEndX, $intEndY, $strFillColour);