rect =pygame.Rect(10,10,200,100) x=pygame.draw.rect(background, (0,0,255), rect,5) #绘制矩形 #参数1:Surface对象,在此对象上绘制 #参数2:颜色
確定! 回上一頁