how to change the color of a class diagram

0 votes
asked Sep 6, 2013 in To be sorted by anonymous
I want to change the color of attribute and method of one specific class in a class diagram. I've already known about how to change the color of  background and border of one class. So why I cannot change the color of attribute and method?

1 Answer

0 votes
answered Sep 6, 2013 by plantuml (216,000 points)

You have two options:

Use a global setting:

@startuml
skinparam classAttributeFontColor red
class Foo {
  Dummy
  Other
}
@enduml


Or change it individually

@startuml
class Foo {
  <color:#red>Dummy
  Other
}
@enduml


 

...