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.

How to change font color of a composite state?

+2 votes

asked May 29, 2015 by bond007 (630 points)
edited May 29, 2015 by bond007

1 Answer

0 votes
 
Best answer

Hello,

Unfortunatly, you cannot... This is hardcoded to black.

However, we build a new beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

In this beta, the parameter StateFontColor is now taken into account.

Example:

@startuml
skinparam shadowing false
skinparam StateFontColor white
skinparam StateBorderColor white
skinparam StateBackgroundColor gray
skinparam BackgroundColor gray
state "Any Page" as s1 {
   state "Using the text\nsearch input" as s2
}
@enduml
 
Thank for the report!
 
answered Jun 12, 2015 by plantuml (122,630 points)
selected Jun 19, 2015 by bond007
Thank you very much! I got the required result with the beta:
https://www.dropbox.com/s/guzc50wzcl4ti9o/2015-06-16_01-29-08.png
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...