我想在负象限(原点的左侧和上侧)绘制矩形。。。有任何帮助请
只需对X和Y位置使用负数。
Graphics.DrawRectangle(Pens.Black, -100, -100, 100, 100);
Rectangle original = new Rectangle(10,10,50,50);
Rectangle negative = new Rectangle(original.Location.X - (original.Width * 2), original.Location.Y - (original.Height * 2), original.Width, original.Height);