this.ctx.rect (x, y, width, height);
this.ctx.stroke ();
}, "~N,~N,~N,~N");
-Clazz.defineMethod (c$, "drawString",
-function (s, x, y) {
-this.ctx.fillText (s, x, y);
-}, "~S,~N,~N");
Clazz.defineMethod (c$, "background",
function (bgcolor) {
this.backgroundColor = bgcolor;
}, "java.awt.Shape");
Clazz.defineMethod (c$, "drawImage",
function (img, x, y, observer) {
-xxxi = img
-xxx = this;
if (img != null) {
var imgNode = this.getImageNode (img);
if (imgNode != null) this.ctx.drawImage (imgNode, x, y, img.getWidth (observer), img.getHeight (observer));
var imgNode = null;
{
imgNode = img._imgNode || img._canvas;
-xxxii = imgNode;
}if (imgNode == null) imgNode = swingjs.JSToolkit.getCompositor ().createImageNode (img);
return imgNode;
}, "java.awt.Image");
swingjs.JSToolkit.notImplemented (null);
return null;
});
+Clazz.defineMethod (c$, "drawString",
+function (s, x, y) {
+this.ctx.fillText (s, x, y);
+}, "~S,~N,~N");
+Clazz.defineMethod (c$, "drawStringUnique",
+function (s, x, y) {
+this.ctx.fillText (s, x, y);
+}, "~S,~N,~N");
Clazz.overrideMethod (c$, "drawStringTrans",
function (str, x, y) {
swingjs.JSToolkit.notImplemented (null);