This code was originally written before the COLOR function had named colors attached
So I was using “&C000000” for black instead of “COLOR.BLACK”
I restored a previous version of the code that worked, and did a global replace of “&c000000” with “color.black”
Then the above issue reappeared!
EDIT : FOUND IT… and this needs to be included somehow in the documents I think
Each of the two methods… had an optional parameter… which was a color who defaulted to black
Turns out using COLOR.BLACK in the signature of a method to assign an default optional value is NOT VALID, you must use &C000000