Setting the fillColor of "diagram-model-note"

Started by Thomas Rohde, November 16, 2022, 12:48:49 PM

Previous topic - Next topic

Thomas Rohde

Hello!

Maybe I'm tired but I can't get fillColor on notes to work, i.e,

let view = $(selection).filter("archimate-diagram-model").first();
let note = view.createObject("diagram-model-note", 200, 200, 400, 200);
note.setText("Hello world");
note.fillColor = "#FEFEFE";

It works fine for ordinary ArchiMate elements.

Phil Beauvoir

Hi, it's working here. Try a different fill color that isn't almost white.
If you value and use Archi please consider making a donation. :-)
https://www.archimatetool.com/donate