4

here's what I got:

draw.line([(x1,y1),(x2,y2)],fill = (255, 255, 255))

the result is a white line, but I want a transparent one, what should I do?

Retric
  • 263
  • 2
  • 8

1 Answers1

5

The line function takes either an RGB or an RGBA value to my knowledge.

Try:

draw.line([(x1,y1),(x2,y2)],fill = (255, 255, 255, 0))
kaipatel
  • 119
  • 2