我正在学习pygame在我的编程课程中使用,但我对这个pygame.Surface.get_rect()方法感到困惑.我看到它可能需要一些关键字参数,但我无法找到它们的任何地方.我见过,get_rect(center=(num, num))但我正在尝试指定一个左上角坐标.有办法做到这一点吗?
pygame
pygame.Surface.get_rect()
get_rect(center=(num, num))
python pygame
pygame ×1
python ×1