TwistPHP Documentation

fill

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

fillFill the image background background with a colour, pass in a hex colour or an array of (r,g,b) or (r,g,b,a)

Parameters

Name Type Description
[$strFillColour = ']stringn/a

Return Values

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

Example

<?php
//Set the variables for the example
$strFillColour ';

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