Function __global->imagecolorset

Definitions

sources_custom/phpstub.php

  • Set the color for the specified palette index.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$image resource No No required parameter N/A N/A The image involved
$red integer No No required parameter N/A N/A Red
$green integer No No required parameter N/A N/A Green
$blue integer No No required parameter N/A N/A Blue

Preview

Code (PHP)

/**
 * Set the color for the specified palette index.
 *
 * @param  resource $image The image involved
 * @param  integer $red Red
 * @param  integer $green Green
 * @param  integer $blue Blue
 */

function imagecolorset($image, int $red, int $green, int $blue)