We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6262b4 commit 75c1978Copy full SHA for 75c1978
adafruit_display_shapes/roundrect.py
@@ -55,7 +55,9 @@ def __init__(
55
if width <= 0 or height <= 0:
56
raise ValueError("Rectangle dimensions must be larger than 0.")
57
if r > width / 2 or r > height / 2:
58
- raise ValueError("Radius cannot exceed half of the smaller side (width or height).")
+ raise ValueError(
59
+ "Radius cannot exceed half of the smaller side (width or height)."
60
+ )
61
62
self._palette = displayio.Palette(3)
63
self._palette.make_transparent(0)
0 commit comments