@svg begin
background(1,0,0,0.5)
setcolor(1,0,0,0.5) # note same color with same alpha value
circle(Point(0, 0), 100, action = :fill)
end 200 200 "circle.svg"
Ah, so the background color is transparent on top of a white background. Sorry, I'm a bit slow. In any case, why is the white (non-transparent) background needed?
produces svg
The line
makes the background non-transparent