TwistPHP Documentation

create

File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
Extends:

create

Parameters

Name Type Description
$intWidthintegern/a
$intHeightintegern/a
[$strFillColour = null]stringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$intWidth 124;
$intHeight 124;
$strFillColour null;

//Call the function create with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> create($intWidth$intHeight$strFillColour);