Tag: graphics

Creating gradient lines and fills

Creating gradient lines and fills

Ever wanted to create a gradient fill or experiment with the various settings in the beginGradientFill method?

I was trying to recreate a simple black background which faded in the middle to a white shade then back to black again and I spent quite a while  trying various options, recompile, test, try more options etc.  This was taking way to long so I created a very quick explorer for the beginGradientFill method.

Hopefully you’ll find it as useful as I did for finding out exactly what values need to change to get a desired result.

Gradient Explorer image

Click to open fill explorer

[ad]