skinparam stereotypeCBackgroundColor isn't applied

0 votes
asked Sep 25, 2022 in To be deleted by grivo (240 points)
recategorized Sep 25, 2022 by grivo

got some questions so far on class diagrams

@startuml
skinparam class {
    BackgroundColor PaleGreen
    ArrowColor SeaGreen
    BorderColor SpringGreen

    BackgroundColor<<metaclass>> Wheat
    BorderColor<<metaclass>> Tomato
    ArrowColor<<metaclass>> Red
}

skinparam stereotypeCBackgroundColor Red
skinparam stereotypeCBackgroundColor<<metaclass>> DimGray
skinparam spotChar Z
skinparam spotChar<<metaclass>> M

class meta <<metaclass>>
class mcls <<metaclass>>
meta "1" *-- "many" Class02 : contains
mcls o-- Class04 : aggregation
@enduml

questions

  1. skinparam spotChar Z - is it possible to change spotChar for class / interface / annotation type somehow?
  2. also, skinparam stereotypeCBackgroundColor Red and skinparam stereotypeCBackgroundColor<<metaclass>> DimGray aren't applied despite they should (since official reference has this sample working)

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...