Shape Line Opacity in jArchi?

Started by rheward, February 26, 2020, 12:34:37 PM

Previous topic - Next topic

rheward

Is it possible to set a shapes line opacity from jArchi?

something like


mylinkedviewEle.lineColor.opacity = 0;


I think the answer's no. I can set the line colour, fill and the shape's opacity. Or I can do it manually.

[I have a script that takes a linked view and scrunches it down to be just the icon, so I can do click throughs on an html generate, and I want to remove the shape's line completely]

Phil Beauvoir

Not yet because that is set via an Archi "Feature" which is not implemented yet in jArchi. It's on the roadmap - https://www.archimatetool.com/roadmap/
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Phil Beauvoir

Actually, even though the underlying mechanism for storing the outline opacity uses an Archi "Feature" the API can still be exposed as in:

value = object.getOutlineOpacity();
value = object.outlineOpacity;

object.setOutlineOpacity(100);
object.outlineOpacity = 100;


The same for visibility of connection labels:

isVisible = connection.isLabelVisible();
isVisible  = connection.labelVisible;

connection.setLabelVisible(false);
connection.labelVisible = false;


So I've just implemented these two for the next release of jArchi.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

Phil Beauvoir

These are part of jArchi 0.7.2 now.
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.