File path: dist/twist/Core/Models/Image/Image.model.php
Namespace: Twist\Core\Models\Image
filterColorize
— Apply a Colorize effect to the image, the image will be colorized according the the HEX colour value and opacity 0.0 - 1.0 value
Name | Description |
---|---|
$strColour | n/a |
[$fltOpacity = 0] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$strColour = 'foo';
$fltOpacity = 0;
//Call the function filterColorize with the example vars
$resImage = new \Twist\Core\Models\Image\Image();
$resImage -> filterColorize($strColour, $fltOpacity);