mirror of
https://github.com/octoleo/plantuml.git
synced 2025-01-02 22:50:20 +00:00
This commit is contained in:
parent
601620b039
commit
df9f6cbfb1
@ -209,6 +209,8 @@ public class TikzGraphics {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private String definecolor(String name, Color color) {
|
private String definecolor(String name, Color color) {
|
||||||
|
if (color.getAlpha() == 0)
|
||||||
|
color = Color.WHITE;
|
||||||
return "\\definecolor{" + name + "}{RGB}{" + color.getRed() + "," + color.getGreen() + "," + color.getBlue()
|
return "\\definecolor{" + name + "}{RGB}{" + color.getRed() + "," + color.getGreen() + "," + color.getBlue()
|
||||||
+ "}";
|
+ "}";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user