首页 > 技术文章 > Graphics.DrawRectangle Method(矩形)

pugongying123 2018-01-21 08:01 原文

Overload List

 

 

Name

Description

 

DrawRectangle(Pen, Int32, Int32, Int32, Int32)

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

 

DrawRectangle(Pen, Rectangle)

Draws a rectangle specified by a Rectangle structure.

 

DrawRectangle(Pen, Single, Single, Single, Single)

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

 

来自 <https://msdn.microsoft.com/en-us/library/system.drawing.graphics.drawrectangle(v=vs.110).aspx>

 

 

推荐阅读