🌈 搜索
📅  最后修改于: 2022-03-11 14:46:44.303000             🧑  作者: Mango
rect = pygame.Rect(25, 25, 100, 50) sub = screen.subsurface(rect) pygame.image.save(sub, "screenshot.jpg")