#NEWLINE# def round_corner( radius , fill ) : #NEWLINE# #INDENT# 'Draw a round corner' #NEWLINE# corner = Image . new ( 'L' , ( radius , radius ) , 0 ) #NEWLINE# draw = ImageDraw . Draw ( corner ) #NEWLINE# draw . pieslice ( ( 0 , 0 , ( radius * 2 ) , ( radius * 2 ) ) , 180 , 270 , fill = fill ) #NEWLINE# return corner