ICanvasRenderingContext2DCreateRadialGradient Method
Creates a radial gradient given by the coordinates of the two circles represented by the parameters.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
ICanvasGradient CreateRadialGradient(
	double x0,
	double y0,
	double r0,
	double x1,
	double y1,
	double r1
)

Parameters

x0
Type: SystemDouble
The x axis of the coordinate of the start circle.
y0
Type: SystemDouble
The y axis of the coordinate of the start circle
r0
Type: SystemDouble
The radius of the start circle.
x1
Type: SystemDouble
The x axis of the coordinate of the end circle.
y1
Type: SystemDouble
The y axis of the coordinate of the end circle.
r1
Type: SystemDouble
The radius of the end circle.

Return Value

Type: ICanvasGradient
A radial CanvasGradient initialized with the two specified circles.
See Also