ICanvasRadialGradientFactory.Create

ICanvasRadialGradientFactory.Create method

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

public ICanvasGradient Create(double x0, double y0, double r0, double x1, double y1, double r1, 
    Func<string, Color> parseColor)
ParameterTypeDescription
x0DoubleThe x-axis coordinate of the start circle.
y0DoubleThe y-axis coordinate of the start circle.
r0DoubleThe radius of the start circle.
x1DoubleThe x-axis coordinate of the end circle.
y1DoubleThe y-axis coordinate of the end circle.
r1DoubleThe radius of the end circle.
parseColorFunc`2A function for parsing a color string into a System.Drawing.Color object.

Return Value

The created radial gradient.

See Also