This topic has not yet been rated Rate this topic

Graphics.DrawLine Method

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

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method DrawLine(Pen, Point, Point) Draws a line connecting two Point structures.
Public method DrawLine(Pen, PointF, PointF) Draws a line connecting two PointF structures.
Public method DrawLine(Pen, Int32, Int32, Int32, Int32) Draws a line connecting the two points specified by the coordinate pairs.
Public method DrawLine(Pen, Single, Single, Single, Single) Draws a line connecting the two points specified by the coordinate pairs.
Top
Did you find this helpful?
(2000 characters remaining)
Community Content Add
Annotations FAQ