Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pygame draw rect

rectangle = pygame.Rect(x, y, width, height)
pygame.draw.rect(window, color, rectangle)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pygame #draw #rect
ADD COMMENT
Topic
Name
6+4 =