CreateGradient

www.progui.co.uk  Top  Previous  Next

CreateGradient()

Syntax

Gradient.i = CreateGradient(Style.l, Colour1.l, Colour2.l)

Description

 

Creates a linear gradient from Colour1.l to Colour2.l.  Colour1.l and Colour2.l are made with the MakeColour command. Style.l can be be #VerticalGRADIENT, #RectangleGRADIENT, #EllipseGRADIENT or zero for a horizontal gradient.

 

More blend colours can also be inserted into the gradient using the SetGradientColour command.

 

Returns a handle to the newly created gradient.

 

 

Colours & Images Index