Allow turn on/off shadowing for elements with stereotypes

0 votes
asked Sep 4 in Wanted features by mirecg (240 points)

I would like to propose feature to allow switching shadowing per stereotype.

Currently I'm not able tu turn on/off shadowing individually for the same element type but with different stereotype. 

For example rectangle:

@startuml
skinparam rectangle<<boundary>> {
  shadowing false
  borderStyle dashed
  backgroundColor whitesmoke
}

skinparam rectangle<<package>> {
  shadowing true
  borderStyle solid
  backgroundColor azure
}

hide <<package>> stereotype
hide <<boundary>> stereotype

rectangle "Packages Boundary" <<boundary>> {
  rectangle "Package A" <<package>>
  rectangle "Package B" <<package>>
}
@enduml

1 Answer

0 votes
answered Sep 4 by plantuml (184,600 points)
selected Sep 5 by mirecg
 
Best answer
Many thanks for your suggestion.

This is a good idea. It has been implemented in last beta http://beta.plantuml.net/plantuml.jar

So your example is working with this beta. Is this what you were expecting ?

Regards,
commented Sep 5 by mirecg (240 points)
Great! Works as expected.

Thank you!
...