Graphics.DrawRectangle Method

Draws a rectangle.

Overload List

Name Description
Public method DrawRectangle(Pen, Rectangle)

Draws a rectangle specified by a Rectangle structure.

Public method DrawRectangle(Pen, Int32, Int32, Int32, Int32)

Draws a rectangle specified by a coordinate pair, a width, and a height.

See Also

Reference