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); } }
public void DrawPixel(int x, int y, Color?color = null) { try { luaPictureBox.DrawPixel(x, y, color); } catch (Exception ex) { LogOutputCallback(ex.Message); } }