HTBasic Help
×
Menu
Index

LINE TYPE

Sets the style or dash pattern and repeat length of lines.
 
 Syntax: LINE TYPE type [,repeat]
 
 
Where:
type and repeat = numeric-expressions, rounded to integers.
 
Usage:
LINE TYPE 5
LINE TYPE Style,Repeat
 
Example:          LINE TYPE.BAS
 
Description:
At start-up the default LINE TYPE is one (1) for solid lines. When the PLOTTER IS device is not the CRT, the line types are device dependent. Refer to your device documentation. The repeat factor is the GDU line length before the line pattern is repeated.
 
The CRT line types are:
 
Value
Line Type
1
solid line (default setting)
2
dot at end of line
3
loosely spaced dots
4
closely spaced dots
5
dashes
6
dash, dot
7
large dash, small dash
8
dash, dot, dot
9
solid line, short line at end
10
solid line, long line at end
 
Under Windows not all line types are supported. Also, most drivers ignore the repeat value.
 
See Also: