File path: dist/twist/Core/Utilities/Image.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
create
— Create a new image from scratch, and Image object will be produced allowing complete control over the image.
Once all changes have been made you can then export the image as a file or serve to the screen.
Name | Description |
---|---|
$intWidth | n/a |
$intHeight | n/a |
$strFillColour | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intWidth = 124;
$intHeight = 124;
$strFillColour = 'foo';
//Call the function create with the example vars
Twist::Image() -> create($intWidth, $intHeight, $strFillColour);