public void DrawRectangle( int x, int y, int width, int height, [LuaColorParam] object line = null, [LuaColorParam] object background = null) { luaPictureBox.DrawRectangle(x, y, width, height, _th.SafeParseColor(line), _th.SafeParseColor(background)); }
public void DrawRectangle(int x, int y, int width, int height, Color?line = null, Color?background = null) { luaPictureBox.DrawRectangle(x, y, width, height, line, background); }