Constructor RadialGradientBrush
RadialGradientBrush()
Initializes a new instance of the RadialGradientBrush class.
public RadialGradientBrush()
RadialGradientBrush(Color, Color)
Initializes a new instance of the RadialGradientBrush class with the specified start color and end color.
public RadialGradientBrush(Color startColor, Color endColor)
Parameters
RadialGradientBrush(GradientStop[])
Initializes a new instance of the RadialGradientBrush class that has the specified gradient stops.
public RadialGradientBrush(GradientStop[] gradientStops)
Parameters
gradientStops
GradientStop[]The GradientStop instances array to set on this brush.
RadialGradientBrush(PointD, double, GradientStop[])
Initializes a new instance of the RadialGradientBrush class that has the specified center, radius, and gradient stops.
public RadialGradientBrush(PointD center, double radius, GradientStop[] gradientStops)
Parameters
center
PointDThe center of the outermost circle of the radial gradient.
radius
doubleThe radius of the outermost circle of the radial gradient.
gradientStops
GradientStop[]The GradientStop instances array to set on this brush.
RadialGradientBrush(PointD, double, PointD, GradientStop[])
Initializes a new instance of the RadialGradientBrush class that has the specified gradient stops, start point and end point.
public RadialGradientBrush(PointD center, double radius, PointD gradientOrigin, GradientStop[] gradientStops)
Parameters
center
PointDThe center of the outermost circle of the radial gradient.
radius
doubleThe radius of the outermost circle of the radial gradient.
gradientOrigin
PointDThe location of the two-dimensional focal point that defines the beginning of the gradient.
gradientStops
GradientStop[]The GradientStop instances array to set on this brush.