ImmutableRadialGradientBrush.

ImmutableRadialGradientBrush(IReadOnlyList<ImmutableGradientStop>, double, GradientSpreadMethod, RelativePoint?, RelativePoint?, double) Constructor

Summary

Initializes a new instance of the ImmutableRadialGradientBrush class.

Syntax

public ImmutableRadialGradientBrush(IReadOnlyList<ImmutableGradientStop> gradientStops, double opacity = 1, GradientSpreadMethod spreadMethod = Pad, RelativePoint? center = null, RelativePoint? gradientOrigin = null, double radius = 0.5)

Parameters

Name Type Description
gradientStops IReadOnlyList<ImmutableGradientStop> The gradient stops.
opacity double The opacity of the brush.
spreadMethod GradientSpreadMethod The spread method.
center RelativePoint? The start point for the gradient.
gradientOrigin RelativePoint? The location of the two-dimensional focal point that defines the beginning of the gradient.
radius double The horizontal and vertical radius of the outermost circle of the radial gradient.

Return Value

Type Description
void