Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Guillaume on September 22, 2021, 07:47:04 pm

Title: Transparent color support
Post by: Guillaume on September 22, 2021, 07:47:04 pm
Hello,

Would it be possible to to add the transparency support on background colours?

Thanks
Guillaume
Title: Re: Transparent color support
Post by: Paolo F Cantoni on September 22, 2021, 08:01:13 pm
Hello,

Would it be possible to add the transparency support on background colours?

Thank
Guillaume
Hi Guillaume,
Do you mean without using a shapescript?  Our standard and shapescripts now support a USDP: [√] Transparent Fill which is accomplished by...
Code: [Select]
if(hasproperty("Fll.Trnsprnt","0"))
{
fillandstrokepath();
}
else
{
strokepath();
}
following appropriate startpath()/endpath() combinations.

HTH,
Paolo
Title: Re: Transparent color support
Post by: Guillaume on September 22, 2021, 08:32:15 pm
Hi Paolo,

I meant without shapescript: users working on ArchiMate models asked if they could set the background colour as transparent when showing a hierarchy of elements e.g. functions, processed.

Thanks,
Guillaume
Title: Re: Transparent color support
Post by: qwerty on September 23, 2021, 01:56:59 am
With or without this has been asked for since ages. Wait a few ages more...

q.
Title: Re: Transparent color support
Post by: Guillaume on September 24, 2021, 07:04:41 pm
I just found out that it's actually already supported with the Custom draw line:

https://sparxsystems.com/enterprise_architect_user_guide/15.2/user_interface/custom_draw_style_toolbar.html (https://sparxsystems.com/enterprise_architect_user_guide/15.2/user_interface/custom_draw_style_toolbar.html)

Setting the opacity to 25 or 50% works well.
All the other options such as rotating the title or changing it position to top left, etc. can be very useful.
It would be great if such options could be made available on the native view.
Title: Re: Transparent color support
Post by: qwerty on September 24, 2021, 07:33:08 pm
Hu, that slipped my attention. I just played around with it and, honestly, it looks like a new gimmick. Totally detached from anything seen before. I wonder how much pitfalls that has :-/

q.

Yep. Transparency only if you draw the element with that Custom bar. Good luck re-drawing a Package with that.