Function __global->imagecolorallocatealpha

Definitions

sources_custom/phpstub.php

  • Allocate a color for an image, with an alpha-component.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$image resource required parameter N/A N/A The image handle
$red integer required parameter N/A N/A Red component (0-255)
$green integer required parameter N/A N/A Green component (0-255)
$blue integer required parameter N/A N/A Blue component (0-255)
$alpha integer required parameter N/A N/A Alpha component (0-127)

Return

  • Combined colour identifier
  • Type: integer
  • Set: N/A
  • Range: N/A