刚查了一下,Rect有以下属性,具体可以到pygame的文档上看:http://www.pygame.org/docs/ref/rect.html
x,y
top, left, bottom, right
topleft, bottomleft, topright, bottomright
midtop, midleft, midbottom, midright
center, centerx, centery
size, width, height
w,h
最后
以上就是追寻母鸡最近收集整理的关于python pygame中 .get_rect()得到的矩形有哪些rect属性的全部内容,更多相关python内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复