Tv GetPixel

From TVPaintWiki
Revision as of 10:04, 11 December 2009 by Hervé (Talk | contribs) (Created page with 'Category:Script commands Category:Script commands Colors Category:George tv_GetPixel x y Indicates the color of a pixel in the current image in the current layer. T…')

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


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.