Author Topic: Transparent color support  (Read 17678 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1351
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Transparent color support
« on: September 22, 2021, 07:47:04 pm »
Hello,

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

Thanks
Guillaume
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8595
  • Karma: +256/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Transparent color support
« Reply #1 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
« Last Edit: September 22, 2021, 08:03:10 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1351
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Transparent color support
« Reply #2 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
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Transparent color support
« Reply #3 on: September 23, 2021, 01:56:59 am »
With or without this has been asked for since ages. Wait a few ages more...

q.

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1351
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: Transparent color support
« Reply #4 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

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.
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Transparent color support
« Reply #5 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.

« Last Edit: September 24, 2021, 07:38:14 pm by qwerty »