chickadee » canvas-draw » canvas-line-style-set!

(canvas-line-style-set! [canvas canvas?] [line-style (or/c symbol? list?)]) -> symbol?procedure

Alternatively (set! (canvas-line-style [canvas canvas?]) [line-style (or/c symbol? list?)]) -> symbol?

Sets the current line style of the given canvas and returns the previous value.

In addition to the possible return values of canvas-line-style a custom line-style can be fully specified using the form (list 'custom [len integer?] ...).