LOADING STUFF...

PHP:imagefilledpolygon()的用法_GD库图像处理函数

技术教程7小时前更新 北陌
10 0 0

PHP:imagefilledpolygon()的用法_GD库图像处理函数

imagefilledpolygon

(PHP 4, PHP 5)

imagefilledpolygon — 画一多边形并填充

说明

bool imagefilledpolygon
( resource $image
, array $points
, int $num_points
, int $color
)

imagefilledpolygon() 在 image
图像中画一个填充了的多边形。

points 参数是一个按顺序包含有多边形各顶点的
x 和 y
坐标的数组。

num_points 参数是顶点的总数,必须大于 3。

Example #1 imagefilledpolygon() 例子

//

© 版权声明

相关文章

暂无评论

暂无评论...