package b4j.example;


import anywheresoftware.b4a.BA;
import anywheresoftware.b4a.debug.*;

public class main extends javafx.application.Application{
public static main mostCurrent = new main();

public static BA ba;
static {
		ba = new  anywheresoftware.b4a.ShellBA("b4j.example", "b4j.example.main", null);
		ba.loadHtSubs(main.class);
        if (ba.getClass().getName().endsWith("ShellBA")) {
			anywheresoftware.b4a.ShellBA.delegateBA = new anywheresoftware.b4j.objects.FxBA("b4j.example", null, null);
			ba.raiseEvent2(null, true, "SHELL", false);
			ba.raiseEvent2(null, true, "CREATE", true, "b4j.example.main", ba);
		}
	}
    public static Class<?> getObject() {
		return main.class;
	}

 
    public static void main(String[] args) {
    	launch(args);
    }
    public void start (javafx.stage.Stage stage) {
        try {
            if (!false)
                System.setProperty("prism.lcdtext", "false");
            anywheresoftware.b4j.objects.FxBA.application = this;
		    anywheresoftware.b4a.keywords.Common.setDensity(javafx.stage.Screen.getPrimary().getDpi());
            anywheresoftware.b4a.keywords.Common.LogDebug("Program started.");
            initializeProcessGlobals();
            anywheresoftware.b4j.objects.Form frm = new anywheresoftware.b4j.objects.Form();
            frm.initWithStage(ba, stage, 600, 600);
            ba.raiseEvent(null, "appstart", frm, (String[])getParameters().getRaw().toArray(new String[0]));
        } catch (Throwable t) {
            BA.printException(t, true);
            System.exit(1);
        }
    }


private static boolean processGlobalsRun;
public static void initializeProcessGlobals() {
    
    if (main.processGlobalsRun == false) {
	    main.processGlobalsRun = true;
		try {
		        		
        } catch (Exception e) {
			throw new RuntimeException(e);
		}
    }
}public static anywheresoftware.b4a.keywords.Common __c = null;
public static anywheresoftware.b4j.objects.JFX _fx = null;
public static anywheresoftware.b4j.objects.Form _mainform = null;
public static anywheresoftware.b4j.objects.CanvasWrapper _cvsbackground = null;
public static anywheresoftware.b4j.objects.CanvasWrapper _cvslayer0 = null;
public static anywheresoftware.b4j.objects.CanvasWrapper _cvslayer1 = null;
public static anywheresoftware.b4j.objects.CanvasWrapper _cvslayer2 = null;
public static anywheresoftware.b4j.objects.CanvasWrapper[] _cvslayer = null;
public static anywheresoftware.b4j.objects.ImageViewWrapper.ImageWrapper _bmpbackground = null;
public static double _xc = 0;
public static double _yc = 0;
public static double _x1 = 0;
public static double _y1 = 0;
public static double _x2 = 0;
public static double _y2 = 0;
public static double _w1 = 0;
public static double _w2 = 0;
public static String  _appstart(anywheresoftware.b4j.objects.Form _form1,String[] _args) throws Exception{
RDebugUtils.currentModule="main";
if (Debug.shouldDelegate(ba, "appstart"))
	return (String) Debug.delegate(ba, "appstart", new Object[] {_form1,_args});
anywheresoftware.b4j.object.JavaObject _jo = null;
RDebugUtils.currentLine=65536;
 //BA.debugLineNum = 65536;BA.debugLine="Sub AppStart (Form1 As Form, Args() As String)";
RDebugUtils.currentLine=65537;
 //BA.debugLineNum = 65537;BA.debugLine="MainForm = Form1";
_mainform = _form1;
RDebugUtils.currentLine=65538;
 //BA.debugLineNum = 65538;BA.debugLine="MainForm.RootPane.LoadLayout(\"Main\") 'Load the la";
_mainform.getRootPane().LoadLayout(ba,"Main");
RDebugUtils.currentLine=65539;
 //BA.debugLineNum = 65539;BA.debugLine="MainForm.Show";
_mainform.Show();
RDebugUtils.currentLine=65542;
 //BA.debugLineNum = 65542;BA.debugLine="cvsLayer = Array As Canvas(cvsLayer0, cvsLayer1,";
_cvslayer = new anywheresoftware.b4j.objects.CanvasWrapper[]{_cvslayer0,_cvslayer1,_cvslayer2};
RDebugUtils.currentLine=65545;
 //BA.debugLineNum = 65545;BA.debugLine="Private jo = cvsLayer2 As JavaObject";
_jo = new anywheresoftware.b4j.object.JavaObject();
_jo.setObject((java.lang.Object)(_cvslayer2.getObject()));
RDebugUtils.currentLine=65546;
 //BA.debugLineNum = 65546;BA.debugLine="jo.RunMethod(\"setMouseTransparent\", Array As Obje";
_jo.RunMethod("setMouseTransparent",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)});
RDebugUtils.currentLine=65547;
 //BA.debugLineNum = 65547;BA.debugLine="Private jo = cvsLayer1 As JavaObject";
_jo = new anywheresoftware.b4j.object.JavaObject();
_jo.setObject((java.lang.Object)(_cvslayer1.getObject()));
RDebugUtils.currentLine=65548;
 //BA.debugLineNum = 65548;BA.debugLine="jo.RunMethod(\"setMouseTransparent\", Array As Obje";
_jo.RunMethod("setMouseTransparent",new Object[]{(Object)(anywheresoftware.b4a.keywords.Common.True)});
RDebugUtils.currentLine=65551;
 //BA.debugLineNum = 65551;BA.debugLine="bmpBackground.Initialize(File.DirAssets, \"rose.jp";
_bmpbackground.Initialize(anywheresoftware.b4a.keywords.Common.File.getDirAssets(),"rose.jpg");
RDebugUtils.currentLine=65553;
 //BA.debugLineNum = 65553;BA.debugLine="Drawing";
_drawing();
RDebugUtils.currentLine=65554;
 //BA.debugLineNum = 65554;BA.debugLine="End Sub";
return "";
}
public static String  _drawing() throws Exception{
RDebugUtils.currentModule="main";
if (Debug.shouldDelegate(ba, "drawing"))
	return (String) Debug.delegate(ba, "drawing", null);
anywheresoftware.b4j.objects.JFX.FontWrapper _font1 = null;
RDebugUtils.currentLine=131072;
 //BA.debugLineNum = 131072;BA.debugLine="Sub Drawing";
RDebugUtils.currentLine=131073;
 //BA.debugLineNum = 131073;BA.debugLine="Private Font1 As Font";
_font1 = new anywheresoftware.b4j.objects.JFX.FontWrapper();
RDebugUtils.currentLine=131074;
 //BA.debugLineNum = 131074;BA.debugLine="Font1 = fx.CreateFont(\"Arial\", 20, False, False)";
_font1 = _fx.CreateFont("Arial",20,anywheresoftware.b4a.keywords.Common.False,anywheresoftware.b4a.keywords.Common.False);
RDebugUtils.currentLine=131077;
 //BA.debugLineNum = 131077;BA.debugLine="cvsBackground.DrawImage(bmpBackground, 0, 0, cvsB";
_cvsbackground.DrawImage((javafx.scene.image.Image)(_bmpbackground.getObject()),0,0,_cvsbackground.getWidth(),_cvsbackground.getHeight());
RDebugUtils.currentLine=131079;
 //BA.debugLineNum = 131079;BA.debugLine="cvsLayer(0).DrawRect(0, 0, cvsLayer(0).Width, cvs";
_cvslayer[(int) (0)].DrawRect(0,0,_cvslayer[(int) (0)].getWidth(),_cvslayer[(int) (0)].getHeight(),_fx.Colors.DarkGray,anywheresoftware.b4a.keywords.Common.True,1);
RDebugUtils.currentLine=131082;
 //BA.debugLineNum = 131082;BA.debugLine="xc = 90";
_xc = 90;
RDebugUtils.currentLine=131083;
 //BA.debugLineNum = 131083;BA.debugLine="yc = 200";
_yc = 200;
RDebugUtils.currentLine=131084;
 //BA.debugLineNum = 131084;BA.debugLine="w1 = 140";
_w1 = 140;
RDebugUtils.currentLine=131085;
 //BA.debugLineNum = 131085;BA.debugLine="cvsLayer(1).DrawRect(xc - w1 / 2, yc - w1 / 2, w1";
_cvslayer[(int) (1)].DrawRect(_xc-_w1/(double)2,_yc-_w1/(double)2,_w1,_w1,_fx.Colors.Green,anywheresoftware.b4a.keywords.Common.False,2);
RDebugUtils.currentLine=131086;
 //BA.debugLineNum = 131086;BA.debugLine="w1 = 120";
_w1 = 120;
RDebugUtils.currentLine=131087;
 //BA.debugLineNum = 131087;BA.debugLine="cvsLayer(0).DrawRect(xc - w1 / 2, yc - w1 / 2, w1";
_cvslayer[(int) (0)].DrawRect(_xc-_w1/(double)2,_yc-_w1/(double)2,_w1,_w1,_fx.Colors.Blue,anywheresoftware.b4a.keywords.Common.True,1);
RDebugUtils.currentLine=131088;
 //BA.debugLineNum = 131088;BA.debugLine="w2 = 100";
_w2 = 100;
RDebugUtils.currentLine=131089;
 //BA.debugLineNum = 131089;BA.debugLine="cvsLayer(0).ClearRect(xc - w2 / 2, yc - w2 / 2, w";
_cvslayer[(int) (0)].ClearRect(_xc-_w2/(double)2,_yc-_w2/(double)2,_w2,_w2);
RDebugUtils.currentLine=131092;
 //BA.debugLineNum = 131092;BA.debugLine="cvsLayer(1).DrawRect(10, 320, 300, 170, fx.Colors";
_cvslayer[(int) (1)].DrawRect(10,320,300,170,_fx.Colors.Red,anywheresoftware.b4a.keywords.Common.False,1);
RDebugUtils.currentLine=131093;
 //BA.debugLineNum = 131093;BA.debugLine="cvsLayer(0).DrawRect(40, 330, 150, 120, fx.Colors";
_cvslayer[(int) (0)].DrawRect(40,330,150,120,(javafx.scene.paint.Paint)(_fx.Colors.ARGB((int) (128),(int) (0),(int) (0),(int) (255))),anywheresoftware.b4a.keywords.Common.True,1);
RDebugUtils.currentLine=131094;
 //BA.debugLineNum = 131094;BA.debugLine="cvsLayer(1).DrawRectRotated(40, 350, 240, 110, fx";
_cvslayer[(int) (1)].DrawRectRotated(40,350,240,110,(javafx.scene.paint.Paint)(_fx.Colors.ARGB((int) (128),(int) (0),(int) (255),(int) (0))),anywheresoftware.b4a.keywords.Common.True,1,10);
RDebugUtils.currentLine=131095;
 //BA.debugLineNum = 131095;BA.debugLine="cvsLayer(0).ClearRect(90, 360, 150, 120)";
_cvslayer[(int) (0)].ClearRect(90,360,150,120);
RDebugUtils.currentLine=131096;
 //BA.debugLineNum = 131096;BA.debugLine="cvsLayer(0).DrawRect(90, 360, 150, 120, fx.Colors";
_cvslayer[(int) (0)].DrawRect(90,360,150,120,_fx.Colors.Red,anywheresoftware.b4a.keywords.Common.False,2);
RDebugUtils.currentLine=131097;
 //BA.debugLineNum = 131097;BA.debugLine="cvsLayer(0).DrawRect(140, 330, 150, 120, fx.Color";
_cvslayer[(int) (0)].DrawRect(140,330,150,120,(javafx.scene.paint.Paint)(_fx.Colors.ARGB((int) (128),(int) (0),(int) (0),(int) (255))),anywheresoftware.b4a.keywords.Common.True,1);
RDebugUtils.currentLine=131100;
 //BA.debugLineNum = 131100;BA.debugLine="cvsLayer(1).DrawImage(bmpBackground, 350, 130, 20";
_cvslayer[(int) (1)].DrawImage((javafx.scene.image.Image)(_bmpbackground.getObject()),350,130,200,180);
RDebugUtils.currentLine=131103;
 //BA.debugLineNum = 131103;BA.debugLine="x1 = 10";
_x1 = 10;
RDebugUtils.currentLine=131104;
 //BA.debugLineNum = 131104;BA.debugLine="y1 = 10";
_y1 = 10;
RDebugUtils.currentLine=131105;
 //BA.debugLineNum = 131105;BA.debugLine="x2 = 250";
_x2 = 250;
RDebugUtils.currentLine=131106;
 //BA.debugLineNum = 131106;BA.debugLine="y2 = 40";
_y2 = 40;
RDebugUtils.currentLine=131107;
 //BA.debugLineNum = 131107;BA.debugLine="cvsLayer(2).DrawLine(x1, y1, x2, y2, fx.Colors.Re";
_cvslayer[(int) (2)].DrawLine(_x1,_y1,_x2,_y2,_fx.Colors.Red,1);
RDebugUtils.currentLine=131108;
 //BA.debugLineNum = 131108;BA.debugLine="y1 = 50";
_y1 = 50;
RDebugUtils.currentLine=131109;
 //BA.debugLineNum = 131109;BA.debugLine="y2 = 50";
_y2 = 50;
RDebugUtils.currentLine=131110;
 //BA.debugLineNum = 131110;BA.debugLine="cvsLayer(2).DrawLine(x1, y1, x2, y2, fx.Colors.Gr";
_cvslayer[(int) (2)].DrawLine(_x1,_y1,_x2,_y2,_fx.Colors.Green,1);
RDebugUtils.currentLine=131111;
 //BA.debugLineNum = 131111;BA.debugLine="y1 = 60";
_y1 = 60;
RDebugUtils.currentLine=131112;
 //BA.debugLineNum = 131112;BA.debugLine="y2 = 90";
_y2 = 90;
RDebugUtils.currentLine=131113;
 //BA.debugLineNum = 131113;BA.debugLine="cvsLayer(2).DrawLine(x1, y1, x2, y2, fx.Colors.Ye";
_cvslayer[(int) (2)].DrawLine(_x1,_y1,_x2,_y2,_fx.Colors.Yellow,1);
RDebugUtils.currentLine=131114;
 //BA.debugLineNum = 131114;BA.debugLine="y1 = 80";
_y1 = 80;
RDebugUtils.currentLine=131115;
 //BA.debugLineNum = 131115;BA.debugLine="y2 = 110";
_y2 = 110;
RDebugUtils.currentLine=131116;
 //BA.debugLineNum = 131116;BA.debugLine="cvsLayer(2).DrawLine(x1, y1, x2, y2, fx.Colors.RG";
_cvslayer[(int) (2)].DrawLine(_x1,_y1,_x2,_y2,(javafx.scene.paint.Paint)(_fx.Colors.RGB((int) (0),(int) (128),(int) (255))),5);
RDebugUtils.currentLine=131119;
 //BA.debugLineNum = 131119;BA.debugLine="x1 = 350";
_x1 = 350;
RDebugUtils.currentLine=131120;
 //BA.debugLineNum = 131120;BA.debugLine="y1 = 40";
_y1 = 40;
RDebugUtils.currentLine=131121;
 //BA.debugLineNum = 131121;BA.debugLine="cvsLayer(2).DrawText(\"Rose\", x1, y1, Font1, fx.Co";
_cvslayer[(int) (2)].DrawText("Rose",_x1,_y1,(javafx.scene.text.Font)(_font1.getObject()),_fx.Colors.Red,BA.getEnumFromString(javafx.scene.text.TextAlignment.class,"LEFT"));
RDebugUtils.currentLine=131122;
 //BA.debugLineNum = 131122;BA.debugLine="DrawCross(x1, y1, fx.Colors.Yellow)";
_drawcross((int) (_x1),(int) (_y1),(anywheresoftware.b4j.objects.JFX.PaintWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.objects.JFX.PaintWrapper(), (javafx.scene.paint.Paint)(_fx.Colors.Yellow)));
RDebugUtils.currentLine=131123;
 //BA.debugLineNum = 131123;BA.debugLine="y1 = 70";
_y1 = 70;
RDebugUtils.currentLine=131124;
 //BA.debugLineNum = 131124;BA.debugLine="cvsLayer(2).DrawText(\"Rose\", x1, y1, Font1, fx.Co";
_cvslayer[(int) (2)].DrawText("Rose",_x1,_y1,(javafx.scene.text.Font)(_font1.getObject()),_fx.Colors.Red,BA.getEnumFromString(javafx.scene.text.TextAlignment.class,"CENTER"));
RDebugUtils.currentLine=131125;
 //BA.debugLineNum = 131125;BA.debugLine="DrawCross(x1, y1, fx.Colors.Yellow)";
_drawcross((int) (_x1),(int) (_y1),(anywheresoftware.b4j.objects.JFX.PaintWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.objects.JFX.PaintWrapper(), (javafx.scene.paint.Paint)(_fx.Colors.Yellow)));
RDebugUtils.currentLine=131126;
 //BA.debugLineNum = 131126;BA.debugLine="y1 = 100";
_y1 = 100;
RDebugUtils.currentLine=131127;
 //BA.debugLineNum = 131127;BA.debugLine="cvsLayer(2).DrawText(\"Rose\", x1, y1, fx.CreateFon";
_cvslayer[(int) (2)].DrawText("Rose",_x1,_y1,(javafx.scene.text.Font)(_fx.CreateFont("Arial",20,anywheresoftware.b4a.keywords.Common.False,anywheresoftware.b4a.keywords.Common.False).getObject()),_fx.Colors.Red,BA.getEnumFromString(javafx.scene.text.TextAlignment.class,"RIGHT"));
RDebugUtils.currentLine=131128;
 //BA.debugLineNum = 131128;BA.debugLine="DrawCross(x1, y1, fx.Colors.Yellow)";
_drawcross((int) (_x1),(int) (_y1),(anywheresoftware.b4j.objects.JFX.PaintWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.objects.JFX.PaintWrapper(), (javafx.scene.paint.Paint)(_fx.Colors.Yellow)));
RDebugUtils.currentLine=131131;
 //BA.debugLineNum = 131131;BA.debugLine="x1 = 500";
_x1 = 500;
RDebugUtils.currentLine=131132;
 //BA.debugLineNum = 131132;BA.debugLine="y1 = 40";
_y1 = 40;
RDebugUtils.currentLine=131133;
 //BA.debugLineNum = 131133;BA.debugLine="cvsLayer(2).DrawTextRotated(\"Rose\", x1, y1, Font1";
_cvslayer[(int) (2)].DrawTextRotated("Rose",_x1,_y1,(javafx.scene.text.Font)(_font1.getObject()),_fx.Colors.Red,BA.getEnumFromString(javafx.scene.text.TextAlignment.class,"LEFT"),-10);
RDebugUtils.currentLine=131134;
 //BA.debugLineNum = 131134;BA.debugLine="DrawCross(x1, y1, fx.Colors.Yellow)";
_drawcross((int) (_x1),(int) (_y1),(anywheresoftware.b4j.objects.JFX.PaintWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.objects.JFX.PaintWrapper(), (javafx.scene.paint.Paint)(_fx.Colors.Yellow)));
RDebugUtils.currentLine=131135;
 //BA.debugLineNum = 131135;BA.debugLine="y1 = 70";
_y1 = 70;
RDebugUtils.currentLine=131136;
 //BA.debugLineNum = 131136;BA.debugLine="cvsLayer(2).DrawTextRotated(\"Rose\", x1, y1, Font1";
_cvslayer[(int) (2)].DrawTextRotated("Rose",_x1,_y1,(javafx.scene.text.Font)(_font1.getObject()),_fx.Colors.Red,BA.getEnumFromString(javafx.scene.text.TextAlignment.class,"CENTER"),-10);
RDebugUtils.currentLine=131137;
 //BA.debugLineNum = 131137;BA.debugLine="DrawCross(x1, y1, fx.Colors.Yellow)";
_drawcross((int) (_x1),(int) (_y1),(anywheresoftware.b4j.objects.JFX.PaintWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.objects.JFX.PaintWrapper(), (javafx.scene.paint.Paint)(_fx.Colors.Yellow)));
RDebugUtils.currentLine=131138;
 //BA.debugLineNum = 131138;BA.debugLine="y1 = 100";
_y1 = 100;
RDebugUtils.currentLine=131139;
 //BA.debugLineNum = 131139;BA.debugLine="cvsLayer(2).DrawTextRotated(\"Rose\", x1, y1, Font1";
_cvslayer[(int) (2)].DrawTextRotated("Rose",_x1,_y1,(javafx.scene.text.Font)(_font1.getObject()),_fx.Colors.Red,BA.getEnumFromString(javafx.scene.text.TextAlignment.class,"RIGHT"),-10);
RDebugUtils.currentLine=131140;
 //BA.debugLineNum = 131140;BA.debugLine="DrawCross(x1, y1, fx.Colors.Yellow)";
_drawcross((int) (_x1),(int) (_y1),(anywheresoftware.b4j.objects.JFX.PaintWrapper) anywheresoftware.b4a.AbsObjectWrapper.ConvertToWrapper(new anywheresoftware.b4j.objects.JFX.PaintWrapper(), (javafx.scene.paint.Paint)(_fx.Colors.Yellow)));
RDebugUtils.currentLine=131141;
 //BA.debugLineNum = 131141;BA.debugLine="End Sub";
return "";
}
public static String  _ckblayer_checkedchange(boolean _checked) throws Exception{
RDebugUtils.currentModule="main";
if (Debug.shouldDelegate(ba, "ckblayer_checkedchange"))
	return (String) Debug.delegate(ba, "ckblayer_checkedchange", new Object[] {_checked});
anywheresoftware.b4j.objects.CheckboxWrapper _ckb = null;
int _index = 0;
RDebugUtils.currentLine=196608;
 //BA.debugLineNum = 196608;BA.debugLine="Private Sub ckbLayer_CheckedChange(Checked  As Boo";
RDebugUtils.currentLine=196609;
 //BA.debugLineNum = 196609;BA.debugLine="Dim ckb As CheckBox";
_ckb = new anywheresoftware.b4j.objects.CheckboxWrapper();
RDebugUtils.currentLine=196610;
 //BA.debugLineNum = 196610;BA.debugLine="Dim index As Int";
_index = 0;
RDebugUtils.currentLine=196612;
 //BA.debugLineNum = 196612;BA.debugLine="ckb = Sender";
_ckb.setObject((javafx.scene.control.CheckBox)(anywheresoftware.b4a.keywords.Common.Sender(ba)));
RDebugUtils.currentLine=196613;
 //BA.debugLineNum = 196613;BA.debugLine="index = ckb.Tag";
_index = (int)(BA.ObjectToNumber(_ckb.getTag()));
RDebugUtils.currentLine=196614;
 //BA.debugLineNum = 196614;BA.debugLine="cvsLayer(index).Visible = Checked";
_cvslayer[_index].setVisible(_checked);
RDebugUtils.currentLine=196615;
 //BA.debugLineNum = 196615;BA.debugLine="End Sub";
return "";
}
public static String  _cvslayer0_mousedragged(anywheresoftware.b4j.objects.NodeWrapper.MouseEventWrapper _eventdata) throws Exception{
RDebugUtils.currentModule="main";
if (Debug.shouldDelegate(ba, "cvslayer0_mousedragged"))
	return (String) Debug.delegate(ba, "cvslayer0_mousedragged", new Object[] {_eventdata});
RDebugUtils.currentLine=262144;
 //BA.debugLineNum = 262144;BA.debugLine="Private Sub cvsLayer0_MouseDragged (EventData As M";
RDebugUtils.currentLine=262145;
 //BA.debugLineNum = 262145;BA.debugLine="cvsLayer(0).DrawRect(xc - w1 / 2 - 1, yc - w1 / 2";
_cvslayer[(int) (0)].DrawRect(_xc-_w1/(double)2-1,_yc-_w1/(double)2-1,_w1+2,_w1+2,_fx.Colors.DarkGray,anywheresoftware.b4a.keywords.Common.True,1);
RDebugUtils.currentLine=262146;
 //BA.debugLineNum = 262146;BA.debugLine="xc = EventData.X";
_xc = _eventdata.getX();
RDebugUtils.currentLine=262147;
 //BA.debugLineNum = 262147;BA.debugLine="yc = EventData.Y";
_yc = _eventdata.getY();
RDebugUtils.currentLine=262148;
 //BA.debugLineNum = 262148;BA.debugLine="cvsLayer(0).DrawRect(xc - w1 / 2, yc - w1 / 2, w1";
_cvslayer[(int) (0)].DrawRect(_xc-_w1/(double)2,_yc-_w1/(double)2,_w1,_w1,_fx.Colors.Blue,anywheresoftware.b4a.keywords.Common.True,1);
RDebugUtils.currentLine=262149;
 //BA.debugLineNum = 262149;BA.debugLine="cvsLayer(0).ClearRect(xc - w2 / 2, yc - w2 / 2, w";
_cvslayer[(int) (0)].ClearRect(_xc-_w2/(double)2,_yc-_w2/(double)2,_w2,_w2);
RDebugUtils.currentLine=262150;
 //BA.debugLineNum = 262150;BA.debugLine="End Sub";
return "";
}
public static String  _drawcross(int _x,int _y,anywheresoftware.b4j.objects.JFX.PaintWrapper _paint) throws Exception{
RDebugUtils.currentModule="main";
if (Debug.shouldDelegate(ba, "drawcross"))
	return (String) Debug.delegate(ba, "drawcross", new Object[] {_x,_y,_paint});
int _d = 0;
RDebugUtils.currentLine=327680;
 //BA.debugLineNum = 327680;BA.debugLine="Private Sub DrawCross(x As Int, y As Int, Paint As";
RDebugUtils.currentLine=327681;
 //BA.debugLineNum = 327681;BA.debugLine="Private d = 5 As Int";
_d = (int) (5);
RDebugUtils.currentLine=327683;
 //BA.debugLineNum = 327683;BA.debugLine="cvsLayer(2).DrawLine(x - d, y, x + d, y, Paint, 1";
_cvslayer[(int) (2)].DrawLine(_x-_d,_y,_x+_d,_y,(javafx.scene.paint.Paint)(_paint.getObject()),1);
RDebugUtils.currentLine=327684;
 //BA.debugLineNum = 327684;BA.debugLine="cvsLayer(2).DrawLine(x, y - d, x, y + d, Paint, 1";
_cvslayer[(int) (2)].DrawLine(_x,_y-_d,_x,_y+_d,(javafx.scene.paint.Paint)(_paint.getObject()),1);
RDebugUtils.currentLine=327685;
 //BA.debugLineNum = 327685;BA.debugLine="End Sub";
return "";
}
}