STATIC FUNCTION Gradient ( Width AS Integer, Height AS Integer, SrcColor AS Integer, DstColor AS Integer, Orientation AS Integer [ , XDecay AS Integer, YDecay AS Integer ] ) AS ImageCreates a gradient from color SrcColor to color DstColor of the specified type and returns it as a new image.
It is a gradient where the transition from start color SrcColor to end color DstColor is not linear, but in this case, exponential.
XDecay and YDecay specify the decay of the gradient. Their value is between -1 and +1.