Difference between revisions of "Tv GetPalette"
From TVPaintWiki
(Created page with 'Category:Script commands Category:Script commands Colors Category:George tv_GetPalette position number Returns the values of the color (red, green, blue) present fr…') |
|||
Line 2: | Line 2: | ||
[[Category:Script commands Colors]] | [[Category:Script commands Colors]] | ||
[[Category:George]] | [[Category:George]] | ||
+ | <<<[[George]]<<<[[George Command Reference|Command Reference]]<<<[[George Commands : Color|Color]] | ||
tv_GetPalette position number | tv_GetPalette position number | ||
Returns the values of the color (red, green, blue) present from the argument position to the end position (position+number). It is between 0 (color at the top left of the palette) and 255 (color at the bottom right of the palette). The colors in the working palette are numbered from left to right and from top to bottom. | Returns the values of the color (red, green, blue) present from the argument position to the end position (position+number). It is between 0 (color at the top left of the palette) and 255 (color at the bottom right of the palette). The colors in the working palette are numbered from left to right and from top to bottom. |
Latest revision as of 08:47, 31 December 2011
<<<George<<<Command Reference<<<Color
tv_GetPalette position number
Returns the values of the color (red, green, blue) present from the argument position to the end position (position+number). It is between 0 (color at the top left of the palette) and 255 (color at the bottom right of the palette). The colors in the working palette are numbered from left to right and from top to bottom.