[solved] Changing polygon line thickness only
Is it possible, where there are multiple drawn objects on a canvas, to just change the line thickness of the polygons shown and nothing else? Items are in an inline script.
... and also now that I think about it, can you change the line style? (i.e. to a variety of dash-lines or similar...)
Thanks,
Lee
Comments
Hi Lee,
You can change the linewidth of, for example, a polygon by calling the function
set_penwidth()right before drawing the shape. For example:will draw two circles with different linewidths (i.e., 5 and 30 px, respectively).
For more information, see:
Does this help?
Best,
Lotje
Did you like my answer? Feel free to

That helps a lot... I thought the penwidth function was only canvas-wide, I didn't realise it could be used repeatedly for different objects.
Any ideas about changing line style in a similar fashion?
Thanks again!
Lee