0
を変更しません:は<a href="http://www.pygame.org/docs/ref/rect.html" rel="nofollow">documentation</a>から何か
「サイズ、幅または高さに割り当てるには、長方形の大きさを変更します」。 私は次のサークルを持っていますが、新しい属性を割り当てますが、サークルに変更は見られません。何が間違っているのですか?
import pygame
from pygame.locals import *
pygame.init()
TV=pygame.display.set_mode((400,400))
pygame.display.set_caption("Rect")
c=pygame.draw.circle(TV,(0,100,0),(150,150),100,1)
pygame.draw.rect(TV,(100,0,0),c,1)
print c.size
c.size=(100,100)
print c.size
pygame.display.flip()
while True:
for e in pygame.event.get():
if e.type==QUIT:
pygame.quit()