Tv Rect

From TVPaintWiki
Jump to: navigation, search

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


  tv_Rect x1 y1 x2 y2 [button]

Draws a rectangle in the current image in the current layer. The x1 y1 and x2 y2 arguments indicate the positions of the top left and bottom right corners of the rectangle respectively. The button argument indicates if this rectangle should be drawn as it would be if you had used the mouse left button (value 0) or right button (value 1).