📜  pygame.draw.rect() - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:50.030000             🧑  作者: Mango

代码示例2
gameDisplay = pygame.display.set_mode((width,height))
bright_blue =(0,255,255)

# draw rectangle 
pygame.draw.rect(gameDisplay, bright_blue ,(611,473,100,50))