mirror of https://github.com/apache/poi.git
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:
parent
d677bc00f2
commit
a69bdc08ba
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue