circled CharacterFontColor for class not working

0 votes
asked Aug 3, 2022 in Bug by GrandeTiti (140 points)
I am trying to use the skinparam circled CharacterFontColor without sucess.
All other circled skinparam seem to work.

//www.plantuml.com/plantuml/png/SoWkIImgAStDuIhEpimhI2nAp5L8pYnApabDKQZcKb1mpW0A9PUa5hdbvvKuv-Va5ocKPsIMfA9B1MTMfIeOcY4B1oMcP9OMAnWPSDLoSINd91ONAoWvWob39ON4OWMmaA62WesDiqvHQegTdK8rKAL3QbuAq3a0

@startuml
skinparam circled {
  CharacterFontColor White
  CharacterFontSize 16
  CharacterRadius 20
}

class "Class 1" as class1  <<C,red>> {
}
@enduml

1 Answer

0 votes
answered Aug 5, 2022 by The-Lu (63,920 points)

Hello G.,

It seems a bug.

A possible workaround is to use style as:

@startuml
<style>
spot {
  FontColor White
  FontSize 16
}
</style>
skinparam CircledCharacter {
  FontColor White
  FontSize 16
  Radius 20
}

class "Class 1" as class1  <<C,red>> {
}
@enduml

@PlantUML team:

  • What is the radius param. on style?

Regards.

commented Aug 31, 2022 by GrandeTiti (140 points)
Thank you the workaround works fine.
...