File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
__construct
— Image object that allow the manipulation of images, adding text, inserting watermarks, applying effects, resizing and altering output quality.
The object can both import and export an image in Base64 encoding and Raw image source. Images can be served to screen our output as a file if required.
Name | Description |
---|---|
[$mxdImage = null] | n/a |
[$intWidth = null] | n/a |
[$intHeight = null] | n/a |
[$strFillColour = null] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$mxdImage = null;
$intWidth = null;
$intHeight = null;
$strFillColour = null;
//Call the function __construct with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> __construct($mxdImage, $intWidth, $intHeight, $strFillColour);