Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Stereotype Fontcolor

0 votes

Hello,

 

Similar to that, how to change the fontcolor (with stereotype)?

skinparam component {
    FontColor<<1>> White
    FontColor<<2>> Black
}

does not work!

Thank you.

asked Feb 11, 2016 in bug by cgoguyer (520 points)

1 Answer

0 votes
 
Best answer

Thanks for the report.

With last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

You can now have:

@startuml
hide stereotype
skinparam component {
    backgroundColor<<1>> Pink
    backgroundColor<<2>> Green
    FontColor<<1>> White
    FontColor<<2>> Black
}
 
package "SYSTEM1" {
 
[ComponentBox] <<1>>
[AnotherCompBox] <<2>>
@enduml

Is this what you are expecting ? This will be released in next official version.

answered Feb 28, 2016 by plantuml (113,980 points)
selected Mar 1, 2016 by cgoguyer
Hello,

Yes, that is just what I need and it works fine.
It would be great to push it in the next release ;-)

Thx.
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...