コード例 #1
0
 public void DrawPixel(int x, int y, [LuaColorParam] object color = null)
 {
     try
     {
         luaPictureBox.DrawPixel(x, y, _th.SafeParseColor(color));
     }
     catch (Exception ex)
     {
         LogOutputCallback(ex.Message);
     }
 }
コード例 #2
0
 public void DrawPixel(int x, int y, Color?color = null)
 {
     try
     {
         luaPictureBox.DrawPixel(x, y, color);
     }
     catch (Exception ex)
     {
         LogOutputCallback(ex.Message);
     }
 }