Sprites with a fix size (instead of scale)

0 votes
asked Jun 30, 2021 in Question / help by kirchsth (2,270 points)

If I use different sprites they could have different sizes and different scaling factors have to be used

@startuml
!include <office/Concepts/firewall>

sprite $foo1 {
  FFFFFFFFFFFFFFF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  F0123456789ABCF
  FFFFFFFFFFFFFFF
}

[Comp1] -> [Comp2] : Testing <$foo1,scale=2>
[Comp1] -> [Comp2] : Testing <$firewall,scale=0.5>
@enduml

Is it possible to define a target size like below? 

[Comp1] -> [Comp2] : Testing <$foo1,size=20>
[Comp1] -> [Comp2] : Testing <$firewall,size=20>

 

Thank you and best regards
Helmut

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...