Tv GetPixel

From TVPaintWiki
Revision as of 08:47, 31 December 2011 by Madsjuul (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

tv_GetPixel x y

Indicates the color of a pixel in the current image in the current layer. The x and y arguments are the coordinates of this pixel. This command returns the red, green, blue and alpha information, defining the values of the color components used by the pixel. Each value is between 0 and 255.