'Declaration Public Overloads Sub DrawLine( _
ByVal penThe pen that determines the color, width, and style of the line.As IDrawingPen, _
ByVal x1The x-coordinate of the first point.As Single, _
ByVal y1The y-coordinate of the first point.As Single, _
ByVal x2The x-coordinate of the second point.As Single, _
ByVal y2The y-coordinate of the second point.As Single _
)
Parameters
- pen
- The pen that determines the color, width, and style of the line.
- x1
- The x-coordinate of the first point.
- y1
- The y-coordinate of the first point.
- x2
- The x-coordinate of the second point.
- y2
- The y-coordinate of the second point.