(PHP 4, PHP 5, PHP 7, PHP 8)
imagefilledrectangle — 畫一矩形并填充
$image,$x1,$y1,$x2,$y2,$color
imagefilledrectangle() 在
image 圖像中畫一個(gè)用
color 顏色填充了的矩形,其左上角坐標(biāo)為
x1,y1,右下角坐標(biāo)為
x2,y2。0, 0
是圖像的最左上角。