From a69bdc08ba15cb0acbe78f3f3e3be2e4af19b084 Mon Sep 17 00:00:00 2001 From: Yegor Kozlov Date: Wed, 30 May 2012 11:33:36 +0000 Subject: [PATCH] set line color in draw command in PPGraphics2D.java git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1344204 13f79535-47bb-0310-9956-ffa450edef68 --- src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java b/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java index 747c903970..86c67dcebd 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java +++ b/src/scratchpad/src/org/apache/poi/hslf/model/PPGraphics2D.java @@ -218,6 +218,9 @@ public final class PPGraphics2D extends Graphics2D implements Cloneable { p.setPath(path); p.getFill().setForegroundColor(null); applyStroke(p); + if (_paint instanceof Color) { + p.setLineColor((Color)_paint); + } _group.addShape(p); } -- 2.39.5