imagefilledrectangle
(PHP 3, PHP 4 )
imagefilledrectangle -- Draw a filled rectangle
Description
int imagefilledrectangle ( resource image, int x1, int y1,
int x2, int y2, int color)
imagefilledrectangle() creates a filled rectangle of color
color in image image starting at upper left coordinates
x1, y1 and ending at bottom right coordinates x2, y2. 0,
0 is the top left corner of the image.
imagefilltoborder
(PHP 3, PHP 4 )
imagefilltoborder -- Flood fill to specific color
Description
int imagefilltoborder ( resource image, int x, int y, int
border, int color)
imagefilltoborder() performs a flood fill whose border color
is defined by border. The starting point for the fill is
x, y (top left is 0, 0) and the region is filled with color
color.
|