achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

Add new property to elements: opaque background #222

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Sometimes, when using colored, layered boxes to distinguish sections, the 
colors of the elements within them can be muddied, especially when using 
multiple levels. 

Try a orange package on top of a yellow box, and see the difference from one 
over a blue box. 

It would be nice to have the option of making the background of those top 
elements opaque. Maybe through tags: 'opaque' and 'transparent'.

Possible solutions:
1) having the default being transparent, using a 'opaque' 
   tag in the top elements. This would be compatible with 
   existing diagrams.
2) opaque being the default and using a 'transparent' tag 
   for the layer boxes. This would require fewer elements
   in the diagram to be modified when a change in
   transparency is required.

If both options were available, there could be a per-diagram setting to choose 
which is default.

Also, these tags should override lower levels.

Original issue reported on code.google.com by fropet...@gmail.com on 18 Jan 2015 at 3:37

GoogleCodeExporter commented 9 years ago
Point b) in issue 198 might have relevance here.

Original comment by fropet...@gmail.com on 18 Jan 2015 at 4:52

GoogleCodeExporter commented 9 years ago
This also applies to "Overlapping execution specifications on the same lifeline 
are represented by overlapping rectangles as shown in Figure 14.15."
(In sequence diagrams)

Search for "Figure 14.15" in the following file for an example
  http://www.omg.org/spec/UML/2.4/Superstructure/Beta2/PDF

Original comment by fropet...@gmail.com on 18 Jan 2015 at 10:10