Gradient background colors respond to scale twice

0 votes
asked Oct 19, 2018 in Bug by Rob Oxspring

Hi,

Tried scaling a diagram with a gradient background and it seems that the background rectangle is scaled twice. For example, this simple diagram at half scale ends up with a gradient which only covers the top left quarter of this diagram:

@startuml
skinparam backgroundcolor blue/red
scale 0.5
Bob -> Alice : hello
@enduml

Other directions of gradients all end in the same corner. The same diagram at 10x scale clearly scales the background rectangle way off screen such that there isn't a trace of red in the diagram.

1 Answer

0 votes
answered Oct 19, 2018 by plantuml (295,000 points)
Thanks for the report.

This should be fixed in last beta http://beta.plantuml.net/plantuml.jar

Tell us if it's not working for you.
...