Ejemplo n.º 1
0
 public void DrawBox(
     int x,
     int y,
     int x2,
     int y2,
     [LuaColorParam] object line       = null,
     [LuaColorParam] object background = null)
 {
     try
     {
         luaPictureBox.DrawBox(x, y, x2, y2, _th.SafeParseColor(line), _th.SafeParseColor(background));
     }
     catch (Exception ex)
     {
         LogOutputCallback(ex.Message);
     }
 }