Tv PicColor

From TVPaintWiki
Jump to: navigation, search

<<<George<<<Command Reference<<<Color

tv_PicColor

Lets you pick a color by clicking on a pixel on the screen. After a pixel is clicked on, this command returns the button, red, green blue and alpha information. The button value is equal to 0 if the user pressed the mouse left button, or 1 if he pressed the mouse right button. The red, green, blue and alpha values are the components of the chosen color (all are between 0 and 255).