backgroundColor of swimlane title

0 votes
asked May 31 in Question / help by csucjh (180 points)
edited Jun 3 by csucjh

|swinlane1|

:first;

:second;

|swinlane2|

:third;

if (foo) then

:something;

endif

|swinlane1|

:back to swinline1;

|swinlane2|

:back to swinline2;

I want to set the background color for the title, like the one shown here

commented Jun 1 by albert (3,230 points)
Would be useful to the a reference to the code you used (e.g. through ) as well as the used Plantuml version.

When I understand it correctly you would like to replace the gray color by something else.
commented Jun 3 by csucjh (180 points)
reshown Jun 4 by csucjh

|swinlane1|

:first;

:second;

|swinlane2|

:third;

if (foo) then

:something;

endif

|swinlane1|

:back to swinline1;

|swinlane2|

:back to swinline2;

I want to set the background color for the title, like the one shown here

1 Answer

+1 vote
answered Jun 5 by plantuml (203,680 points)
selected Jun 5 by csucjh
 
Best answer

Good idea!
Thanks for the suggestion.

So with last beta http://beta.plantuml.net/plantuml.jar
you can now have:

@startuml
skinparam SwimlaneTitleFontColor red
skinparam SwimlaneTitleFontSize 18
skinparam SwimlaneTitleBackgroundColor #EEE
skinparam SwimlaneBorderColor blue
skinparam SwimlaneBorderThickness 4

|swinlane1|
:first;
:second;
|swinlane2|
:third;
if (foo) then
:something;
endif
|swinlane1|
:back to swinline1;
|swinlane2|
:back to swinline2;
@enduml

Is this what you were expecting ?

...