TwistPHP Documentation

string

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

stringAdd a string to the image as a watermark or caption

Parameters

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

Return Values

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

Example

<?php
//Set the variables for the example
$intStartX 124;
$intStartY 124;
$strString 'foo';
$strFillColour ';

//Call the function string with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> string($intStartX, $intStartY, $strString, $strFillColour);