Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

gfxdraw circle weight

def draw_arc(surface, col, x, y, r, start_angle, stop_angle, width=1):
    """Draw an arc given the centre and radius"""
    pygame.draw.arc(
        surface, col, (x - r, y - r, r * 2, r * 2), start_angle, stop_angle, width=width
    )
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gfxdraw #circle #weight
ADD COMMENT
Topic
Name
1+5 =