Draws the line.
Syntax
'Declaration
Sub DrawLine( _
ByVal As Pen, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single _
)
'Usage
Dim instance As IBorderGraphics
Dim pen As Pen
Dim x1 As Single
Dim y1 As Single
Dim x2 As Single
Dim y2 As Single
instance.DrawLine(pen, x1, y1, x2, y2)
void DrawLine(
Pen ,
float ,
float ,
float ,
float
)
Parameters
- pen
- Pen
- x1
- X-coordinate of first point
- y1
- Y-coordinate of first point
- x2
- X-coordinate of second point
- y2
- Y-coordinate of second point
See Also