Skip to content

Commit 9f10d71

Browse files
committed
JSGraphics2D adds public getContext2D() (not used)
1 parent 1f19ffe commit 9f10d71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sources/net.sf.j2s.java.core/src/swingjs/JSGraphics2D.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ public class JSGraphics2D implements
6868
private HTML5Canvas canvas;
6969

7070
private HTML5CanvasContext2D ctx;
71+
72+
public HTML5CanvasContext2D getContext2D() {
73+
return ctx;
74+
}
7175
private GraphicsConfiguration gc;
7276

7377
private BasicStroke currentStroke;

0 commit comments

Comments
 (0)