public void DrawPolygon(LuaTable points, int?x = null, int?y = null, [LuaColorParam] object line = null, [LuaColorParam] object background = null) { try { luaPictureBox.DrawPolygon(points, x, y, _th.SafeParseColor(line), _th.SafeParseColor(background)); } catch (Exception ex) { LogOutputCallback(ex.Message); } }
public void DrawPolygon(LuaTable points, int?x = null, int?y = null, Color?line = null, Color?background = null) { try { luaPictureBox.DrawPolygon(points, x, y, line, background); } catch (Exception ex) { LogOutputCallback(ex.Message); } }