draw

from pygame import draw

circle

pygame.draw.circle(surface, color, center, radius, ?)

Рисует окружность

pygame.draw.py()

draw.circle(window_surface, (0, 0, 0), (300, 50), 20, 0)

ellipse

pygame.draw.ellipse(surface, color, points, ?)

Рисует эллипс

draw.ellipse(window_surface, (0, 0, 0), (300, 350, 560, 100), 2)

line

pygame.draw.line(surface, color, point1, point2, ?)

Рисует линию

draw.line(window_surface, (0, 0, 0), (60, 50), (120, 70), 5)

polygon

pygame.draw.polygon(surface, color, rect)

Рисут многоугольник

draw.polygon(window_surface, (0, 0, 0), ((146, 0), (236, 277)))

rect

pygame.draw.rect(surface, color, rect)

Рисует прямоугольную область

draw.rect(window_surface, (0, 0, 0), (0, 10, 10, 0))