mirror of
https://github.com/hneemann/Digital.git
synced 2025-09-18 01:14:42 -04:00
filling of polygons is working again
This commit is contained in:
parent
0ffd7f1705
commit
c132c7768f
@ -45,6 +45,9 @@ public class GraphicSwing implements Graphic {
|
|||||||
|
|
||||||
if (p.isClosed())
|
if (p.isClosed())
|
||||||
path.closePath();
|
path.closePath();
|
||||||
|
|
||||||
|
if (style.isFilled())
|
||||||
|
gr.fill(path);
|
||||||
gr.draw(path);
|
gr.draw(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user