Window.DrawHLine (gb.ncurses)
Sub DrawHLine ( X As Integer, Y As Integer, Len As Integer, C As String )
Draw a line beginning at
X,
Y that goes
Len characters on the x-axis.
Ch is the character used to draw the line. For a horizontal line, one would use "-". The optional
Thickness parameter specifies the expansion in y-axis direction.
Examples
' Draw a horizontal line with a thickness of 2 characters
Window.DrawHLine(0, 0, Window.Width, "#", 2)
Gives (assuming the
Window has an ASCII border around it):
+--------------------+
|####################|
|####################|
| |
| |
+--------------------+