如果width爲零,則填充矩形。 pos = pos_x, pos_y, 100, 100 #參數意義,x軸座標,Y軸座標,x長度,Y長度 pygame.draw.rect(screen, color, pos, ...
確定! 回上一頁