@ -218,14 +218,15 @@ Rel(web_app, twitter, "Gets tweets from", "HTTPS")

## HIDE_PERSON_SPRITE(), SHOW_PERSON_SPRITE(?sprite), SHOW_PERSON_PORTRAIT()
## HIDE_PERSON_SPRITE(), SHOW_PERSON_SPRITE(?sprite), SHOW_PERSON_PORTRAIT() and SHOW_PERSON_OUTLINE()
With the macros `HIDE_PERSON_SPRITE()` , `SHOW_PERSON_SPRITE()` and `SHOW_PERSON_PORTRAIT()` it is possible to change the person related default sprite or person layout itself. `SHOW_PERSON_SPRITE()` is the default.
- **HIDE_PERSON_SPRITE()** : deactivates the default sprite
- **SHOW_PERSON_SPRITE()** : activates the default sprite "person"
- **SHOW_PERSON_SPRITE($sprite)** : activates a specific sprite as default sprite
- **SHOW_PERSON_PORTRAIT()** : activates portrait outline instead of a rectangle
- **SHOW_PERSON_PORTRAIT()** : activates portrait instead of a rectangle
- **SHOW_PERSON_OUTLINE()** : activates person outline instead of a rectangle
"person" and "person2" are predefined sprites which can be used as default sprite too.
@ -332,3 +333,28 @@ Rel(web_app, twitter, "Gets tweets from", "HTTPS")
")
**Using SHOW_PERSON_OUTLINE()**
> This call requires PlantUML version >= v1.2021.4!
```csharp
@startuml SHOW_PERSON_OUTLINE() Sample
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Container.puml
SHOW_PERSON_OUTLINE()
Person(admin, "Administrator")
System_Boundary(c1, 'Sample') {
Container(web_app, "Web Application", "C#, ASP.NET Core 2.1 MVC", "Allows users to compare multiple Twitter timelines")
}
System(twitter, "Twitter")
' if a person is combined with a sprite then the rectangle layout is used again
Person(person, "Person with sprite", $sprite="person2")
Rel(admin, web_app, "Uses", "HTTPS")
Rel(web_app, twitter, "Gets tweets from", "HTTPS")
@enduml
```
")