ropod7 / pyboard_drive

23 stars 11 forks source link

Suggestion for drawCircle() #6

Closed mchobby closed 8 years ago

mchobby commented 8 years ago

I would suggest to add a start_degree to the drawCircle function.

def drawCircle(self, x, y, radius, color, border=1, start_degree=0, degrees=360):

By adding a start_degree then it would be possible to draw "section of circle". This would allow drawing of rounded rectangle (for nice buttons drawing ;-) ).

Kind regards, Dominique

ropod7 commented 8 years ago

Yes, I was looking forward to with this feature. Now I remember to set it in drawCircle.

ropod7 commented 8 years ago

Done. Thanks.