1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-26 06:46:45 +00:00

transparent is no color in latex, fixes #974

This commit is contained in:
soloturn 2022-04-09 13:08:59 +02:00
parent c9137be051
commit 8add65d317

View File

@ -5,12 +5,12 @@
* (C) Copyright 2009-2023, Arnaud Roques * (C) Copyright 2009-2023, Arnaud Roques
* *
* Project Info: http://plantuml.com * Project Info: http://plantuml.com
* *
* If you like this project or if you find it useful, you can support us at: * If you like this project or if you find it useful, you can support us at:
* *
* http://plantuml.com/patreon (only 1$ per month!) * http://plantuml.com/patreon (only 1$ per month!)
* http://plantuml.com/paypal * http://plantuml.com/paypal
* *
* This file is part of PlantUML. * This file is part of PlantUML.
* *
* PlantUML is free software; you can redistribute it and/or modify it * PlantUML is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* *
* *
* Original Author: Arnaud Roques * Original Author: Arnaud Roques
* *
* *
*/ */
package net.sourceforge.plantuml.tikz; package net.sourceforge.plantuml.tikz;
@ -549,7 +549,7 @@ public class TikzGraphics {
if (color != null) if (color != null)
sb.append("color=" + getColorName(color) + ","); sb.append("color=" + getColorName(color) + ",");
if (fillcolor != null) if (fillcolor != null && !HColorUtils.isTransparent(fillcolor))
sb.append("fill=" + getColorName(fillcolor) + ","); sb.append("fill=" + getColorName(fillcolor) + ",");
sb.append("line width=" + thickness + "pt] " + couple(x, y) + " ellipse (" + format(width) + "pt and " sb.append("line width=" + thickness + "pt] " + couple(x, y) + " ellipse (" + format(width) + "pt and "