imagefilledpolygon
Opis
bool imagefilledpolygon ( resource image, array points, int num_points, int color )
imagefilledpolygon() creates a filled polygon
in the given image
.
Parametry
obraz
Zasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak imagecreatetruecolor().
points
An array containing the x and y coordinates of the polygons vertices consecutively
num_points
Total number of vertices, which must be bigger than 3
color
A color identifier created with imagecolorallocate()
Przykłady
Poprzedni | Spis treści | Następny |
imagefilledellipse | Początek rozdziału |