"Normal" rectangles corners, "package" rectangles text colors are not supported anymore

0 votes
asked Feb 18, 2022 in Bug by kirchsth (4,780 points)

After the bugfix I found rectangle problems too
a) the corners of normal rectangles are lost
b) the package rectangels lost the text color
In older versions the corners of the normal rectangles and the text colors of the package records were correct displayed.

(Even in older versions the DiagonalCorner of the package rectangles are not correct displayed. Can this be fixed too?)

Thank you and best regards

skinparam rectangle {
    StereotypeFontSize 12
    shadowing false
skinparam package {
    StereotypeFontSize 6
    StereotypeFontColor transparent
    FontStyle plain
    BackgroundColor transparent
skinparam rectangle<<container>> {
    StereotypeFontColor #FFFFFF
    FontColor #FFFFFF
    BackgroundColor #438DD5
    BorderColor #3C7FC0
skinparam rectangle<<GreenContainer>> {
    StereotypeFontColor green
    FontColor green
    BackgroundColor lightgreen
    BorderColor darkgreen
    RoundCorner 25
    DiagonalCorner 0
skinparam rectangle<<RedContainer>> {
    StereotypeFontColor red
    FontColor red
    BackgroundColor lightred
    BorderColor darkred
    RoundCorner 0
    DiagonalCorner 18
rectangle "==green package container\n//<size:12>[green]</size>//" <<GreenContainer>><<container>> as gPC  {
  rectangle "==red container\n//<size:12>[red]</size>//" <<RedContainer>><<container>> as rC
rectangle "==red package container\n//<size:12>[red]</size>//" <<RedContainer>><<container>> as rPC  {
  rectangle "==green container\n//<size:12>[green]</size>//" <<GreenContainer>><<container>> as gC


1 Answer

0 votes
answered Feb 21, 2022 by plantuml (294,540 points)
selected Feb 22, 2022 by kirchsth
Best answer
Thanks for the report.

This should be fixed with last online version.
commented Feb 22, 2022 by kirchsth (4,780 points)

Thank you, the color and round corners are working.
But the diagonal corners are still not working.
BR Helmut

commented Feb 22, 2022 by plantuml (294,540 points)
Thanks for the report.

It should be fixed now!
commented Feb 22, 2022 by kirchsth (4,780 points)
Thank you, specifically that you fixed the previously not working diagonal corner of the package rectangle too.
BR Helmut