ImagePolygon

ImagePolygon -- Dibuja un polígono

Descripción

int imagepolygon ( int im, array points, int num_points, int col)

ImagePolygon crea un polígono en la imagen id . points es un array PHP conteniendo los vértices del polígono . de la siguiente forma points[ 0 ] = x0 , points1 = y0 , points[2 ] = x1 , points[3 ] = y1 , etc . num_points es el número total de vértices .

Vea también imagecreate( ) .