DrawLine Method
Collapse the table of content
Expand the table of content

Graphics.DrawLine Method

Draws a line connecting the two points specified by the coordinate pairs.

Name Description
Graphics.DrawLine (Pen, Point, Point) Draws a line connecting two Point structures.
Graphics.DrawLine (Pen, PointF, PointF) Draws a line connecting two PointF structures.
Graphics.DrawLine (Pen, Int32, Int32, Int32, Int32) Draws a line connecting the two points specified by the coordinate pairs.

Supported by the .NET Compact Framework.

Graphics.DrawLine (Pen, Single, Single, Single, Single) Draws a line connecting the two points specified by the coordinate pairs.

Community Additions

ADD
Show:
© 2016 Microsoft