Tv BrushPoly

From TVPaintWiki
Jump to: navigation, search

<<<George<<<Command Reference<<<Tools


  tv_BrushPoly [button] [anim]

Cuts out a brush or animbrush by using a polygon in the current image or selection in the current layer. The polygon is described using the irregular polygon coordinates table (see tv_AreaInit and tv_AreaMove commands). The button argument simulates pressing on the mouse left button (value 0) or right button (value 1). The left button simply makes a cutout, whereas the right makes the cutout and also erases it from the image with the background color. The anim argument indicates if the brush is to be cut in the current image only (value 0) or in the entire selection (value 1) in the current layer.