Gradient on alt boxes

0 votes
asked May 12 in Bug by gbrusella (180 points)
edited May 12 by gbrusella

When you specify a gradient on an else after an alt, like on:

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuL80WiIS4WLbdypqZ1AddD9K1SyqXUBytDIIZCoyT0MFn8A2rBnYBWKeS5JGrRLJS0BpKtEAKw4QWtCIIrBTYn8hzS5614Fr0mqeBYbAp4jFLSZ0Qf0pka41cNdPoDhBKpEBKd1eTe5epalXSW0IGDy00000



It seems to me that the box is ignoring the gradient and using the previous color.

On the other hand, there is support for gradients s at all?

commented May 13 by albert (2,820 points)
Misread the question, but leave it as comment.

The syntax is all a bit strange to me, I could not find the relevant documentation and skin parameter but by chance I stumbled over the syntax:

@startuml
alt#green #LightBlue something Happens
        A --> B
    else #LightSlateGray Somethinng strange happens
        A --> C
    else #LightPink Somethinng weird happens
        A --> D
    end
@enduml

Giving:

http://www.plantuml.com/plantuml/umla/TS-n2i903CRnlKyHwDnNa5e57Ho4Fa6W7tU7rrYI5F7jFUmDKZ138CFl3-dDMNsTSyFPsw20K7jB8VgGLv0zPtXC4kZAom8nQgZEaRhkGCFtHZPKDcPsN9JVD5PRiBco153S8hl6QT-u9tdyyXUIJd_mUSCoDNrPvP4F

I don't think the "/Blue" was intended either
commented May 13 by gbrusella (180 points)

So, no support for gradients in alt boxes but yes for normal boxes like :

http://www.plantuml.com/plantuml/umla/TOz12eCm44NtESK7rz8R5BM5Tj55mHD476Be62KPiTw-GysY2FsGCCFm7lmgYOsoZ6owwOswqQ_OY7bQJnqlPA2nB8MBH075mxj16ZqWJIF9u8F3tSupXGI3d1fbUKRptOaJPQnbAtIBTaERMOMJH1iSOTWb1yVbw7ZwyFh5L_An_mDVTpZqHX-qdgbqqAeV

The /Blue is to emulate the background color syntax for gradients that is there for normal boxes. I couldn't find either the documentation on how to change the color of the alt box. 

Thanks for it (a skinparam for that would be great).

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.
...