
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() 例子
//
© 版权声明
文章版权归作者所有,未经允许请勿转载。
相关文章
暂无评论...