SetGradientColour |
www.progui.co.uk Top Previous Next |
SetGradientColour() Syntax Success = SetGradientColour(Gradient.i, Position.f, Colour.l) Description
Sets 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 set and must be a floating point number from 0 to 1, e.g. 0.5 would set the colour at halfway in the gradient.
Returns true for success.
|