Archi Forum

Archi Plug-ins => jArchi => Topic started by: Thomas Rohde on November 16, 2022, 12:48:49 PM

Title: Setting the fillColor of "diagram-model-note"
Post by: Thomas Rohde on November 16, 2022, 12:48:49 PM
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.
Title: Re: Setting the fillColor of "diagram-model-note"
Post by: Phil Beauvoir on November 16, 2022, 12:56:55 PM
Hi, it's working here. Try a different fill color that isn't almost white.