ICanvasRenderingContext2D.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)
ParameterTypeDescription
x0DoubleThe x axis of the coordinate of the start circle.
y0DoubleThe y axis of the coordinate of the start circle
r0DoubleThe radius of the start circle.
x1DoubleThe x axis of the coordinate of the end circle.
y1DoubleThe y axis of the coordinate of the end circle.
r1DoubleThe radius of the end circle.

Return Value

A radial CanvasGradient initialized with the two specified circles.

See Also