TwistPHP Documentation

opacity

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

opacityChanges the opacity level of the image, between 0.0 and 1.0

Parameters

Name Type Description
$intOpacityintegern/a

Return Values

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

Example

<?php
//Set the variables for the example
$intOpacity 124;

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