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
This commit is contained in:
Yegor Kozlov 2012-05-30 11:33:36 +00:00
parent d677bc00f2
commit a69bdc08ba
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}