Closed roberto-arista closed 3 years ago
stroke(None)
and stroke()
are equivalent and draw no stroke, stroke(0, 0, 0, 0)
draws a black stroke with 0 alpha. Apparently the OS renderer treats that as different. I'm not quite surprosed, though. Please use stroke(None)
to say "no stroke".
I will, thanks : )
Dear @justvanrossum and @typemytype,
I assumed that
stroke(None)
andstroke(0, 0, 0, 0)
would render the same result, but if I run this script:The results on a output PNG are slightly different:
Am I missing something? I know it's a minor thing, but I am curious 🤓
Thanks! 👋