JuliaGraphics / Luxor.jl

Simple drawings using vector graphics; Cairo "for tourists!"
http://juliagraphics.github.io/Luxor.jl/
Other
575 stars 72 forks source link

Add keyword argument `close` to function polysmooth #285

Closed GiggleLiu closed 8 months ago

GiggleLiu commented 8 months ago

image

using Luxor

@drawsvg begin
    background("white")
    polysmooth([Point(0, 0), Point(0, 100), Point(100, 100), Point(100, 0)], 5, :stroke; close=false)
end 300 300
codecov[bot] commented 8 months ago

We're currently processing your upload. This comment will be updated when the results are available.

cormullion commented 8 months ago

Thanks very much! That's some code I haven't seen for a while... :)