RemoveGradientColour

www.progui.co.uk  Top  Previous  Next

RemoveGradientColour()

Syntax

Success = RemoveGradientColour(Gradient.i, Position.f)

Description

 

Removes the colour of a previously created gradient at a certain position in that gradient.

Gradient.i is a handle to a gradient. Position.f specifies at what position in the gradient the colour will be removed from and must be a floating point number from 0 to 1, e.g. 0.5 would remove the colour at halfway in the gradient if exists.

 

Returns true for success.

 

Colours & Images Index