Graphics.DrawRectangle Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

NameDescription
System_CAPS_pubmethodDrawRectangle(Pen, Int32, Int32, Int32, Int32)

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

System_CAPS_pubmethodDrawRectangle(Pen, Rectangle)

Draws a rectangle specified by a Rectangle structure.

System_CAPS_pubmethodDrawRectangle(Pen, Single, Single, Single, Single)

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

Return to top
Show: