Reply To: JSUI-MGraphics patch-a-day

Forums > Javascript > JSUI-MGraphics patch-a-day
February 10, 2014 | 8:54 am

You could try something like the attached, which creates gradients for the three colors (R, G, B) and overlays them. Not a perfect match, but better performing than doing pixel manipulation.

One note about gradients; they don’t really seem to deal with relative coordinates at all, so if you are doing gradients, you probably want relative_coords turned off.