Table of Contents

Constructor RadialGradientBrush

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

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

startColor Color

The Color at offset 0.0.

endColor Color

The Color at offset 1.0.

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 PointD

The center of the outermost circle of the radial gradient.

radius double

The 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 PointD

The center of the outermost circle of the radial gradient.

radius double

The radius of the outermost circle of the radial gradient.

gradientOrigin PointD

The 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.