我需要绘制围绕在运行期间动态创建的面板的边缘的矩形绘制。首先,我用六进制代码获得颜色。 string color = *getting the hexa code*
int argb = Int32.Parse(color.Replace("#", ""), NumberStyles.HexNumber);
Color clr = Color.FromArgb(argb);
现在,我尝试使
我编写了一个简单的Java游戏,其中有两个矩形在屏幕上,其中一个矩形移动,另一个保持不动,移动的矩形移动与键盘箭头输入并可以向上,向下,向左或向右移动。我有被画我的矩形屏幕上的问题,我的意思是我有2个矩形设置与我的变量,如下所示: Rectangle rectOne = new Rectangle(shiftX, shiftY,90,90);
Rectangle rectTwo = new Re