コード例 #1
0
 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));
 }
コード例 #2
0
 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);
 }