Book a Demo

Author Topic: Pure black as background color of stereotypes  (Read 3262 times)

McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
Pure black as background color of stereotypes
« on: September 17, 2015, 06:17:25 pm »
Hi guys,

I just tried in vain to set the background color of a stereotype extending the "Provided Interface" meta-class to pure black RGB=(0,0,0).
I tried both the default appearance approach as well as using the following Shapescript with no success.

Code: [Select]
SetFillColor(0,0,0);
DrawNativeShape();

Interestingly, the stereotype in the output profile has the bgcolor attribute set to -2 instead of 0.

I solved the problem by using RGB=(1,1,1) which is of course still dark enough but it's not the proper solution, why I believe this was not intended by Sparx  :)