.corner(): Also accept (angle, radius) tuples
This commit is contained in:
parent
c09ee50fbd
commit
f178215f20
|
@ -608,6 +608,11 @@ class Boxes:
|
|||
|
||||
"""
|
||||
|
||||
try:
|
||||
degrees, radius = degrees
|
||||
except:
|
||||
pass
|
||||
|
||||
rad = degrees * math.pi / 180
|
||||
|
||||
if tabs and self.tabs:
|
||||
|
|
Loading…
Reference in New Issue