imagefilltoborder
Opis
bool 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
.
Parametry
obraz
Zasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak imagecreatetruecolor().
x
x-coordinate of start
y
y-coordinate of start
border
The border color. A color identifier created with imagecolorallocate()
color
The fill color. A color identifier created with imagecolorallocate()
Poprzedni | Spis treści | Następny |
imagefilledrectangle | Początek rozdziału |