Add backward compatibility for UpdateSkinparamsAndLegendEntry.

pull/141/head^2 v2.2.0
Ben Peachey 5 years ago
parent 621a191552
commit 34353ddd4a
No known key found for this signature in database
GPG Key ID: 36CB9959B1927086

@ -315,6 +315,11 @@ $defineSkinparams($elementName, $bgColor, $fontColor, $borderColor, $shadowing)
%set_variable_value("$" + $elementName + "LegendEntry", $tagEntry)
!endprocedure
/' @deprecated in favor of UpdateElementStyle '/
!unquoted procedure UpdateSkinparamsAndLegendEntry($elementName, $bgColor="", $fontColor="", $borderColor="", $shadowing="")
UpdateElementStyle($elementName, $bgColor, $fontColor, $borderColor, $shadowing)
!endprocedure
' update the style of default relation, it has to set both properties (combined statement not working)
!unquoted procedure UpdateRelStyle($textColor, $lineColor)
!$elementSkin = "skinparam Arrow {" + %newline()

Loading…
Cancel
Save