ResetGradientColors()

Syntax

ResetGradientColors()
Description
Removes all colors from the drawing gradient and reverts back to a gradient from the current background color to the current front color.

Parameters

None.

Return value

None.

Remarks

The GradientColor() command can be used to add additional colors to the gradient.

Note: This command only has an effect with ImageOutput() and CanvasOutput(). The gradient only affects the drawing commands when #PB_2DDrawing_Gradient is set with the DrawingMode() command.

See Also

GradientColor(), LinearGradient(), CircularGradient(), EllipticalGradient(), BoxedGradient(), ConicalGradient(), CustomGradient(), DrawingMode()

Supported OS

All

<- Red() - 2DDrawing Index - RoundBox() ->