Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
imagefill() function in PHP
The imagefill() function is used to fill the image.
Syntax
imagefill(img, x, y, color)
Parameters
img
Create a blank image with imagecreatetruecolor().x
x-coordinate of start pointy
y-coordinate of start pointcolor
The fill color.
Return
The imagefill() function returns TRUE on success or FALSE on failure.
Example
The following is an example:
Output
The following is the output:

Advertisements
