#let draw_rect take in an argument for border width

1 messages · Page 1 of 1 (latest)

pure stratus
#

I like to put a white border of a couple px around my screens and this is what I have to do in order to keep what I have drawn.

        $scr.draw_rect($i,$i,$s-$i,$s-$i,white)```

If draw_rect took a 7th argument of border width i could just do

```$scr.draw_rect(0,0,$s,$s,white,color(0),4)```

thanks
#

I should note this should also apply to draw_circle (Probably polygon too but i've never used it)

faint marten
pure stratus
#

fair enough, thanks for considering