ICanvasGradientAddColorStop Method
Adds a new stop, defined by an offset and a color, to the gradient.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
void AddColorStop(
	double offset,
	string color
)

Parameters

offset
Type: SystemDouble
A number between 0 and 1.
color
Type: SystemString
A CSS color
See Also