Open
Description
(yes, I know there is b.noStroke()
)
When setting b.strokeWeight()
to 0
, a stroke is still drawn (I think with the document's current default stroke weight). I seem to remember this is an ExtendScript thing that if you set the stroke to 0 via myObject.strokeWeight = 0
that it does not actually work, but that you have to set the color to [None]
instead.
So, calling the function with a parameter of 0 should just do that, as the user also knows this behavior from InDesign's UI.