From 8add65d317d6d329ed83c2c44e91136e44def831 Mon Sep 17 00:00:00 2001 From: soloturn Date: Sat, 9 Apr 2022 13:08:59 +0200 Subject: [PATCH] transparent is no color in latex, fixes #974 --- src/net/sourceforge/plantuml/tikz/TikzGraphics.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/net/sourceforge/plantuml/tikz/TikzGraphics.java b/src/net/sourceforge/plantuml/tikz/TikzGraphics.java index f2dd9237e..1d487e07c 100644 --- a/src/net/sourceforge/plantuml/tikz/TikzGraphics.java +++ b/src/net/sourceforge/plantuml/tikz/TikzGraphics.java @@ -5,12 +5,12 @@ * (C) Copyright 2009-2023, Arnaud Roques * * Project Info: http://plantuml.com - * + * * 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/paypal - * + * * This file is part of PlantUML. * * PlantUML is free software; you can redistribute it and/or modify it @@ -30,7 +30,7 @@ * * * Original Author: Arnaud Roques - * + * * */ package net.sourceforge.plantuml.tikz; @@ -549,7 +549,7 @@ public class TikzGraphics { if (color != null) sb.append("color=" + getColorName(color) + ","); - if (fillcolor != null) + if (fillcolor != null && !HColorUtils.isTransparent(fillcolor)) sb.append("fill=" + getColorName(fillcolor) + ","); sb.append("line width=" + thickness + "pt] " + couple(x, y) + " ellipse (" + format(width) + "pt and "