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