3 ms·
1 pixel gradient is an old games/graphics trick.. Define an array of pixels, but only one "row".. match the length of the array to the dimension desired, then u
by mistrial9 7y ago
1 pixel gradient is an old games/graphics trick.. Define an array of pixels, but only one "row".. match the length of the array to the dimension desired, then use the graphics primitives in the window to stretch and fill.. (here, a picture is worth a thousand words) think of a To-Be-Defined rectangular area, and a gradient that is mapped to either the x or Y dimension, and "stretched" across to make the rectangular fill.