ICanvasRenderingContext2DCreateRadialGradient Method |
Creates a radial gradient given by the coordinates of the two circles represented by the parameters.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
SyntaxICanvasGradient CreateRadialGradient(
double x0,
double y0,
double r0,
double x1,
double y1,
double r1
)
Function CreateRadialGradient (
x0 As Double,
y0 As Double,
r0 As Double,
x1 As Double,
y1 As Double,
r1 As Double
) As ICanvasGradient
ICanvasGradient^ CreateRadialGradient(
double x0,
double y0,
double r0,
double x1,
double y1,
double r1
)
abstract CreateRadialGradient :
x0 : float *
y0 : float *
r0 : float *
x1 : float *
y1 : float *
r1 : float -> ICanvasGradient
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:
ICanvasGradientA radial CanvasGradient initialized with the two specified circles.
See Also