Tv ZLine

From TVPaintWiki
Jump to: navigation, search

<<<George<<<Command Reference<<<<Drawing Functions


  tv_ZLine x1 y1 x2 y2 button pressure1 pressure2

Draws a straight line with a variable pressure in the current image in the current layer. The x1 y1 and x2 y2 arguments are the coordinates of the start and end of the straight line. The button argument indicates if this straight line should be drawn as it would if the mouse left button (value 0) or right button (value 1) were pressed. The pressure1 and pressure2 arguments represent the pressures used at the beginning and end of the straight line respectively.