API - XOOPS 2.5.11 Beta 2
By monxoops.fr
ResizeCanvas Class Reference

Public Member Functions

 execute ($img, $width, $height, $left, $top, $color, $scale, $merge)
 

Member Function Documentation

◆ execute()

execute (   $img,
  $width,
  $height,
  $left,
  $top,
  $color,
  $scale,
  $merge 
)

Returns an image with a resized canvas

The image is filled with $color. Use $scale to determine, when to resize.

Parameters
\WideImage\Image$img
smart_coordinate$width
smart_coordinate$height
smart_coordinate$left
smart_coordinate$top
int$color
string$scale'up', 'down', 'any'
boolean$merge
Returns
\WideImage\Image
Here is the call graph for this function:

The documentation for this class was generated from the following file: