Function __global->imagefill
Definitions
sources_custom/phpstub.php
- Flood fill.
- 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 handle |
| $x | integer | No | No | required parameter | N/A | N/A | Start from X |
| $y | integer | No | No | required parameter | N/A | N/A | Start from Y |
| $colour | integer | No | No | required parameter | N/A | N/A | The colour code to use |
Preview
Code (PHP)
/**
* Flood fill.
*
* @param resource $image The image handle
* @param integer $x Start from X
* @param integer $y Start from Y
* @param integer $colour The colour code to use
*/
function imagefill($image, int $x, int $y, int $colour)
* Flood fill.
*
* @param resource $image The image handle
* @param integer $x Start from X
* @param integer $y Start from Y
* @param integer $colour The colour code to use
*/
function imagefill($image, int $x, int $y, int $colour)

