Macro Language Reference > Macros > Graphic > tgline
  
tgline
Description
Prepares PTC ALD to draw a graphic straight line. The mouse cursor changes to a symbol.
 
This macro is an alias of the line macro; both being present for purposes of backward compatibility.
 
Example 148. Draw an equilateral triangle as a graphic line
tgline m,m,+2,+0,-1,-1.7320508,-1,+1.7320508
 
For best results, you could set a fill colour using tgfcol and a mitred line joint style using tgljoint before using this macro.
Syntax
tgline mouse control:b?
tgline
[no parameter]
Elect to draw the line.
mouse control
Add a mouse control sequence to handle the macro.