int x = 10; int y = 10; int width = 100; int height = 100; int c = 10; GraphicsPath path = new GraphicsPath(); path.AddLines(new Point[] { new Point(x + c, y), new Point(x + width - c, y), new Point(x + width, y + c), new Point(x + width, y + height - c), new Point(x + width - c, y + height), new Point(x + c, y + height), new Point(x, y + height - c), new Point(x, y + c), }); path.CloseFigure();