HTBasic Help
×
Menu
Index

LINE TYPE Statement

 
The LINE TYPE statement sets the style or dash pattern and optionally the repeat length of drawn graphic lines. The repeat factor is the GDU line length before the line pattern is repeated.
 
The default LINE TYPE is number one, a solid line. Dotted and dashed lines of various types may be specified in a manner similar to this example:
 
LINE TYPE 5
 
When the GRAPHIC device is not the screen, the line types are device dependent. The following example demonstrates the screen line types.
 
10 GINIT
20 FOR T=1 TO 10
30   LINE TYPE T
40   Y = T*10
50   MOVE 10,Y
60   DRAW 90,Y
70 NEXT T
80 END