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