Stereotype Fontcolor

0 votes
asked Feb 11, 2016 in bug by cgoguyer (540 points)

Hello,

 

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

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

does not work!

Thank you.

1 Answer

0 votes
answered Feb 28, 2016 by plantuml (132,110 points)
selected Mar 1, 2016 by cgoguyer
 
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.

commented Mar 1, 2016 by cgoguyer (540 points)
Hello,

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

Thx.
...