Google

NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7">

ImageFilledPolygon

(PHP 3, PHP 4 )

ImageFilledPolygon -- 塗りつぶした多角形の描画

説明

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

ImageFilledPolygon()は画像 im上に塗りつぶした多角形を生成します。 pointsはPHPの配列で、多角形の頂点、すなわ ち、points[0] = x0, points[1] = y0, points[2] = x1, points[3] = y1などという具合になっています。 num_pointsは頂点の総数です。