CreateRadialGradient

ICanvasRenderingContext2D.CreateRadialGradient method

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

public ICanvasGradient CreateRadialGradient(double x0, double y0, double r0, double x1, double y1, 
    double r1)
Parameter Type Description
x0 Double The x axis of the coordinate of the start circle.
y0 Double The y axis of the coordinate of the start circle
r0 Double The radius of the start circle.
x1 Double The x axis of the coordinate of the end circle.
y1 Double The y axis of the coordinate of the end circle.
r1 Double The radius of the end circle.

Return Value

A radial CanvasGradient initialized with the two specified circles.

See Also