imagefilledrectangle
(PHP 4, PHP 5, PHP 7, PHP 8)
imagefilledrectangle — 畫一矩形並填充
說明
imagefilledrectangle(
resource
int
int
int
int
int
): bool
resource
$image,int
$x1,int
$y1,int
$x2,int
$y2,int
$color): bool
imagefilledrectangle() 在
image 影象中畫一個用
color 顏色填充了的矩形,其左上角座標為
x1,y1,右下角座標為
x2,y2。0, 0
是影象的最左上角。