Allow turn on/off shadowing for elements with stereotypes

0 votes
asked Sep 4, 2018 in Wanted features by mirecg (220 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, 2018 by plantuml (294,960 points)
selected Sep 5, 2018 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, 2018 by mirecg (220 points)
Great! Works as expected.

Thank you!
...