How can I change the border thickness of a specific component

0 votes
asked Aug 13, 2023 in Question / help by kirchsth (7,480 points)
retagged Aug 14, 2023 by kirchsth

I can change the border color/style/thickness of a rectangle via skinparam
I can change the border color/style per rectangle.

But how can I change the border thickness per rectangle?



thank you and best regards
Helmut






 

1 Answer

0 votes
answered Mar 12 by dickmaley (4,120 points)

The border thickness is set to 5.

image

@startuml
<style>
  rectangle {
    BackgroundColor #white/Aqua
    FontColor Blue
    FontSize: 14;
    FontStyle Bold
    LineColor Blue
    LineThickness: 5;
    RoundCorner:0;
    'RoundCorner: var(--default-RoundCorner);
    'Shadowing: 3.0;  
    Shadowing: 5;
  }  
</style>
left to right direction
actor "Food Critic" as fc
rectangle Restaurant {
usecase "Eat Food" as UC1
usecase "Pay for Food" as UC2
usecase "Drink" as UC3
}
fc --> UC1
fc --> UC2
fc --> UC3
@enduml

...