DrawRectangle

DrawRectangle(Pen, int, int, int, int)

public void DrawRectangle(Pen pen, int x, int y, int width, int height)

也可以看看


DrawRectangle(Pen, Rectangle)

public void DrawRectangle(Pen pen, Rectangle rect)

也可以看看


DrawRectangle(Pen, float, float, float, float)

public void DrawRectangle(Pen pen, float x, float y, float width, float height)

也可以看看