📌  相关文章
📜  如何截取pygame窗口的截图并粘贴 - Python代码示例

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

代码示例2
rect = pygame.Rect(25, 25, 100, 50)
sub = screen.subsurface(rect)
pygame.image.save(sub, "screenshot.jpg")